[vlc-devel] [RFC] access/alsa.c: add new pcm formats from alsa 1.0.27

Rémi Denis-Courmont remi at remlab.net
Fri May 24 09:06:55 CEST 2013

On Sun, 19 May 2013 15:33:54 +0200, Janne Grunau <janne-vlc at jannau.net>
> ---
> I'm not sure if using VLC_CODEC_G723_1 is correct. Libavcodec's
> decoder seems to expect frames with a header but I suspect that the HW
> will deliver just raw samples. Why would it otherwise need 4 different
> format IDs for different bitstream formats.

G723_.._1B formats have one (padded) sample per byte. G723_24 and G723_40
are bit-packed: 8 samples in respectively 3 or 5 bytes. There are no
headers. That being said, there does not seem to be any existing ALSA
driver supporting any of them.

Rémi Denis-Courmont
Sent from my collocated server

More information about the vlc-devel mailing list