All of lore.kernel.org
 help / color / mirror / Atom feed
* Alsa-loopback
@ 2019-05-10  7:15 Mats Lindestam
  0 siblings, 0 replies; only message in thread
From: Mats Lindestam @ 2019-05-10  7:15 UTC (permalink / raw)
  To: alsa-devel@alsa-project.org

Hi,


I am new to Alsa and I have been told that there is some kind of buffer/queue, in Alsa-loopback, that regulates when 'sound-buffers' is dropped.

What I would like to achieve is make the buffer/queue larger (500 ms).


>From what I have heard is that it should be possible to configure the buffer/queue, in Alsa-loopback, via the /etc/asound.conf configuration file.


It seems that the parameters period_time, period_size, buffer_time, buffer_size & rate are important to achieve what I want. I haven't found any information on what these parameters do and how or if they are used in conjunction with each other.


Here is my asound.conf file:


  # cat /etc/asound.conf
  pcm_slave.aloopcommon {
    pcm "hw:Loopback,0,0"
    ...
    rate 16000
    period_time 64000
    buffer_time 512000
  }

  pcm.!audiosource0 {
    type dsnoop
    ...
    slave aloopcommon
    ...
  }

Is there somewhere where these parameters are explained and how they interact?

BR

/Mats
?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-05-10  7:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-10  7:15 Alsa-loopback Mats Lindestam

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.