Merge pull request #14 from MrJman006/patch-1

Fixing U16 and U8 Parameter Types
This commit is contained in:
Zach Bacon 2016-07-22 22:09:07 -04:00 committed by GitHub
commit 228c298df6
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ class SoundSDL : public SoundDriver
virtual void pause();
virtual void reset();
virtual void resume();
virtual void write(u16 *finalWave, int length);
virtual void write(uint16_t *finalWave, int length);
private:
RingBuffer<uint16_t> _rbuf;
@ -50,7 +50,7 @@ class SoundSDL : public SoundDriver
// Defines what delay in seconds we keep in the sound buffer
static const float _delay;
static void soundCallback(void *data, u8 *stream, int length);
static void soundCallback(void *data, uint8_t *stream, int length);
virtual void read(uint16_t *stream, int length);
};