And you are correct.
I used swr_convert to convert it to AV_SAMPLE_FMT_FLT   (no P!).
To my surprise, this doesn't crash swr_convert, like converting from FLTP to S16P (or S16) does.
And finally the sound is working!

So, this true: AV_SAMPLE_FMT_FLT == AL_FORMAT_STEREO_FLOAT32.

I seriously hope this will help someone, at some point.

Thanks for hinting me to the swr_convert.

Am 28.01.2014 11:58, schrieb Carl Eugen Hoyos:
Jan Drabner <jan@...> writes:

Well, that is what I said.
AV_SAMPLE_FMT_FLTP == AL_FORMAT_STEREO_FLOAT32.
No.
(At least I find it very unlikely.)

Carl Eugen

_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user


_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to