one moreeee big-endian fix
This commit is contained in:
parent
27555c3c0a
commit
25820ae987
|
@ -110,7 +110,11 @@ bool TAAudioSDL::init(TAAudioDesc& request, TAAudioDesc& response) {
|
|||
desc.outFormat=TA_AUDIO_FORMAT_F32;
|
||||
|
||||
ac.freq=desc.rate;
|
||||
#ifdef TA_BIG_ENDIAN
|
||||
ac.format=AUDIO_F32MSB;
|
||||
#else
|
||||
ac.format=AUDIO_F32;
|
||||
#endif
|
||||
ac.channels=desc.outChans;
|
||||
ac.samples=desc.bufsize;
|
||||
ac.callback=taSDLProcess;
|
||||
|
|
Loading…
Reference in New Issue