When I try to record with the AudioEncoder.pcm16bits encoder, I get pcm_f32le instead.
I am just using the example app, where I changed the AudioEncoder from AudioEncoder.aacLc to AudioEncoder.pcm16bits
To verify the file I use ffprobe, which comes with ffmpeg.
To Reproduce
Steps to reproduce the behavior:
Open the example project
In AudioRecorder replace AudioEncoder.aacLc by AudioEncoder.pcm16bits
Thanks for the report.
Yes this is a know issue. macOS doesn't care of given settings (partially) with PCM.
This was discovered and discussed here #280.
Package version 5.1.2
Environment
Describe the bug
When I try to record with the
AudioEncoder.pcm16bits
encoder, I get pcm_f32le instead. I am just using the example app, where I changed the AudioEncoder fromAudioEncoder.aacLc
toAudioEncoder.pcm16bits
To verify the file I use
ffprobe
, which comes with ffmpeg.To Reproduce
Steps to reproduce the behavior:
example
projectAudioEncoder.aacLc
byAudioEncoder.pcm16bits
ffprobe
gives the following output:Expected behavior
The output file should be pcm_s16le, not 32 bits pcm_f32le.