How can I convert 8-bit audio samples into 16-bit audio samples?
Current audio configurations are:-
codec: PCM U8,Channels: Mono, Sample rate: 8000 Hz, Bits per sample: 8
how can I convert audio with above configuration into audio with below configurations without using audio conversion tools:-
codec: PCM S16LE, Channels: Mono, Sample rate: 8000 Hz, Bits per sample: 16
Can anyone explain with the help of c code?