fixed OSS and SDL

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@428 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Javier Serrano Polo
2006-11-15 21:06:12 +00:00
parent 2a4867e0f9
commit 43d119d21e
8 changed files with 78 additions and 28 deletions

View File

@@ -99,7 +99,7 @@ private:
snd_pcm_hw_params_t * m_hwParams;
snd_pcm_sw_params_t * m_swParams;
bool m_littleEndian;
bool m_convertEndian;
volatile bool m_quit;
} ;

View File

@@ -80,10 +80,14 @@ private:
virtual void stopProcessing( void );
static void sdlAudioCallback( void * _udata, Uint8 * _buf, int _len );
void sdlAudioCallback( Uint8 * _buf, int _len );
SDL_AudioSpec m_audioHandle;
surroundSampleFrame * m_outBuf;
Uint8 * m_convertedBuf;
int m_convertedBuf_pos;
int m_convertedBuf_size;
bool m_convertEndian;