Mercurial > fife-parpg
comparison engine/core/loaders/native/audio_loaders/sounddecoder_ogg.h @ 378:64738befdf3b
bringing in the changes from the build_system_rework branch in preparation for the 0.3.0 release. This commit will require the Jan2010 devkit. Clients will also need to be modified to the new way to import fife.
author | vtchill@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Mon, 11 Jan 2010 23:34:52 +0000 |
parents | 90005975cdbb |
children |
comparison
equal
deleted
inserted
replaced
377:fe6fb0e0ed23 | 378:64738befdf3b |
---|---|
47 releaseBuffer(); | 47 releaseBuffer(); |
48 } | 48 } |
49 | 49 |
50 /** Returns the decoded length of the file in bytes | 50 /** Returns the decoded length of the file in bytes |
51 */ | 51 */ |
52 unsigned long getDecodedLength() { | 52 unsigned long getDecodedLength() const{ |
53 return m_declength; | 53 return m_declength; |
54 } | 54 } |
55 | 55 |
56 /** Sets the current position in the file (in bytes) | 56 /** Sets the current position in the file (in bytes) |
57 * | 57 * |
68 | 68 |
69 /** Returns the next decoded buffer. | 69 /** Returns the next decoded buffer. |
70 * | 70 * |
71 * The length of the buffer is returned by getBufferSize(). | 71 * The length of the buffer is returned by getBufferSize(). |
72 */ | 72 */ |
73 void *getBuffer() { | 73 void *getBuffer() const{ |
74 return m_data; | 74 return m_data; |
75 } | 75 } |
76 | 76 |
77 /** Returns the byte-size of the buffer returned by getBuffer(). | 77 /** Returns the byte-size of the buffer returned by getBuffer(). |
78 */ | 78 */ |