AudioFormatWriter - Floating point bit depth

Hi guys,

quick question: why is the bitsPerSample parameter in AudioFormatWriter::createWriterFor an integer?

Specifically,  how would one go about writing a 32-bits, floating point,  aiff audio file (using AiffAudioFormat)? 

Thanks in advance!

Hi masshacker, the AudioFormatWriter currently does not support floating-point samples (the reader does however). I've added this issue to our backlog. However, regardless of the sample format, bitsPerSample will always be an integer as even for floating-point samples the bitsPerSample is an integer number (32).

Fabian 

Ok, thank you Fabian.