Strange behaviour in module-pipe-sink

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Lennart Poettering wrote:
> On Tue, 19.08.08 16:05, Knut-H?vard Aksnes (kna at tirsdagsklubben.nu) wrote:
> 
>> I see strange behaviour after the following sequence of commands:
>> First I load a pipe-sink using this command.
> 
>> pactl load-module module-pipe-sink file=/tmp/sound1
> 
> This is intended behaviour: module-pipe-sink does not rate limit what
> you pull from it. It will not enforce any specify byte rate. if you
> just pull the data out of it via "cat", then you will suck data out-of
> it as fast as possible, regardless what sample settings you
> configured.
> 
> You are expected to read from the pipe sink in a speed that remotely
> matches the sample rate you configured.

So perhaps a suitable alternative would be to create a null sink, then 
use parec on the monitor source of that sink and dump that to the file.

Col




[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux