[FFmpeg-devel] [PATCH]Support *law in alsa

Michael Niedermayer michaelni at gmx.at
Wed Apr 13 16:02:16 CEST 2011


On Wed, Apr 13, 2011 at 01:47:09PM +0200, Carl Eugen Hoyos wrote:
> Hi!
> 
> Surprisingly, attached patch works with -f alsa plughw - audio encoded in 
> mulaw or alaw is played fine (SND_PCM_FORMAT_IMA_ADPCM leads to division by 
> zero, and with a work-around, I can only hear - recognisable - noise, somebody 
> else will have to fix/explain).
> 
> If nobody objects (I did not check if there is a supported Alsa version that 
> does not define the formats), I will apply together with the unsigned versions 
> of the already supported formats.
> 
> Carl Eugen

>  alsa-audio-common.c |    2 ++
>  1 file changed, 2 insertions(+)
> c90a03214688c9290b291af49c10c34356a0557f  patchalsalaw.diff

LGTM

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110413/c7c88e30/attachment.asc>


More information about the ffmpeg-devel mailing list