dmix + dshare and changes of period_size buffer_size

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

 



alsa-project/alsa-lib issue #109 was opened from pietercardoen:

Dear

I'm trying to create my audio configuration using dmix or dshare plugins but i'm facing some issues.

Currently, if I don't use dmix or dshare, I'm able to specify the period_size using aplay and changes are populated to the hardware. However if I include a dmix/dshare plugin, I'm  not able to configure the period_time anymore.

To configure dmix, one needs to specify this:
slave {			# Slave definition
  pcm STR		# slave PCM name
  # or
  pcm { }		# slave PCM definition
  format STR	# format definition
  rate INT	# rate definition
  channels INT
  period_time INT	# in usec
  # or
  period_size INT	# in frames
  buffer_time INT	# in usec
  # or
  buffer_size INT # in frames
  periods INT	# when buffer_size or buffer_time is not specified
}

Is it possible in any way to avoid the need to specify buffer_size/periods/... and to avoid the system to fall back on defaults?

Kind regards
Pieter Cardoen

Issue URL     : https://github.com/alsa-project/alsa-lib/issues/109
Repository URL: https://github.com/alsa-project/alsa-lib



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux