andrewrk / libsoundio

C library for cross-platform real-time audio input and output
http://libsound.io/
MIT License
1.9k stars 230 forks source link

sio_record.c seems to produce corrupt files, when specifying the output as .wav #263

Open mavavilj opened 2 years ago

mavavilj commented 2 years ago

sio_record.c seems to produce corrupt files, when specifying the output as .wav. In particular e.g. Parole on OpenSuse throws the errors "GStreamer backend error" and "Could not determine type of stream". What's the intended usage?

(other .wavs that I have work flawlessly)

https://github.com/andrewrk/libsoundio/blob/master/example/sio_record.c