[Stk] RtAudio - Problem with RTAUDIO_SINT24
TJF
tjfoerster at web.de
Sun Dec 12 02:35:16 PST 2010
Hi,
I cannot play 24 Bit Files using RTAUDIO_SINT24. These 24 Bit files
could be i.e. usual 24/96kHz Chesky Wav-Files (start after wav-header)
or i.e. files which are generated with Sox:
sox input_16_44100.wav -b 24 output_88200_24.raw rate 88200
The simplest way to reproduce this is to use "playraw.cpp" coming with
rtaudio 4.07 and the usage of the soxed raw-file (see above). All the
other formats with exception of RTAUDIO_SINT24 are working!
This would work, but it is not a solution, because all 24 Bit files must
be changed (because it is a change to a 32 bit file):
1.) The "soxed" raw-file above
2.) sox -e unsigned -b 24 -r 88200 output_88200_24.raw -b 32 output.raw
3.) Using RTAUDIO_SINT32
Any idea how to get this work?
Thanks a lot.
Regards
Thomas
More information about the Stk
mailing list