Hi,

I've some code that basically open an audio file, demux it, resample it to mono/44100Hz and mux/write the result into a wav file.

it works.

Now, i want to avoid the muxing/writing part and obtain a buffer containing "raw" audio samples (after resampling) into double values. I must have this double buffer to conform with other process that expect a double buffer as input (currently, libsndfile is providing this).

I have two major problems:
* conceptual: how is it possible to encode the variety of audio samples with only one uint8_t? * technical: For the double buffer output, i shunt my process when i obtain the ouput AVFrame and use it's data. Is it the recommended way? BTW, is there a recommended way to do what i want?

thanks for your help

Florian
_______________________________________________
libav-api mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-api

Reply via email to