search for: sf_format_pcm_24

Displaying 1 result from an estimated 1 matches for "sf_format_pcm_24".

Did you mean: sf_format_pcm_16
2013 Dec 04
1
endian problems with AIFF and WAV
...if ((sf_info.format & SF_ENDIAN_BIG) == SF_ENDIAN_BIG) format.byte_format = AO_FMT_BIG; if ((sf_info.format & SF_FORMAT_PCM_S8) == SF_FORMAT_PCM_S8) format.bits = 8; if ((sf_info.format & SF_FORMAT_PCM_16) == SF_FORMAT_PCM_16) format.bits = 16; if ((sf_info.format & SF_FORMAT_PCM_24) == SF_FORMAT_PCM_24) format.bits = 24; if ((sf_info.format & SF_FORMAT_PCM_32) == SF_FORMAT_PCM_32) format.bits = 32; if ((sf_info.format & SF_FORMAT_PCM_U8) == SF_FORMAT_PCM_U8) format.bits = 8; // format.bits = 32; printf("%x\n", sf_info.format); printf...