Re: Fedora 23 x86_64; Pulseaudio removed; playing from multiple sources serially - a little progress . .

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

 



Paolo Bolzoni wrote:
> "Dmix is enabled by default for soundcards which don't support hardware mixing."
>
> In my experience, this is a lie.

It is enabled in the ALSA device named "default".  That doesn't help
with programs that hardcode a device name like "hw:0".


You could try something like the following to find any programs that
still try to use "hw":

pcm.my_hw {
	@args [ CARD DEV ]
	@args.CARD {
		type string
		default 1
	}
	@args.DEV {
		type integer
		default 0
	}
	type hw
	card $CARD
	device $DEV
	subdevice -1
}

pcm.dmixer {
	slave.pcm "my_hw:1"
	...
}

pcm.!hw = blow_up


(You could also redefine "hw" to another valid device, but it would be
a better idea to adjust the configuration of the respective program to
use the correct device.)


Regards,
Clemens

------------------------------------------------------------------------------
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user



[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux