search for: sf_format_pcm_32

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

Did you mean: sf_format_pcm_16
2013 Dec 04
1
endian problems with AIFF and WAV
..._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("bits: %d\n", format.bits); format.channels = sf_info.channels; fo...