[pulseaudio-discuss] Converting sound output with FFMPEG

Lennart Poettering lennart at poettering.net
Sun Jun 8 14:27:54 PDT 2008

On Fri, 23.05.08 12:00, Rui Pereira (rfapereira at gmail.com) wrote:

> But here's my problem - when reading the pipe that PA creates, I get an
> enormous data rate out of it. I configure it for 22050Hz, s16le and 2
> channels, so I expect around 705kb/s..

Yes, the pipe sink expects that the other side of the pipe does
timing. If you just read its data as fast as you can then PA will give
you as much data as possible and if it doesn't have any it will
consider that an underrun and hand you zeros to fill up.


Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4

More information about the pulseaudio-discuss mailing list