Trying to encode a multi channel 5.1 audio file with Flac which is saved by BASSEnc with the following flags:
EncoderFlags := BASS_ENCODE_PCM OR BASS_UNICODE OR BASS_ENCODE_RF64 OR BASS_ENCODE_AUTOFREE OR BASS_ENCODE_FP_24BIT;
But no output is generated, the following error is given by Flac:
WARNING: skipping unknown sub-chunk 'JUNK' (use --keep-foreign-metadata to keep)
WARNING: legacy WAVE file has format type 1 but bits-per-sample=24
ERROR: WAVE has >2 channels but is not WAVE_FORMAT_EXTENSIBLE; cannot assign channels
Could this WAVE_FORMAT_EXTENSIBLE channel mapping data to be included with BASSEnc's WAV PCM saving, please?
I am trying to achieve maximum quality (I am working on a converter, especially to support multi channel conversion) so I would need this with all possible combinations (16/24/32bit integer/32bit floating point/all possible channel count from 1 to 8 ).
Documentation: WAV Audio File Format Specifications
About speaker configuration: Multiple Channel Audio Data and WAVE Files