mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-25 06:59:54 -05:00
Added snd_card_type_string_to_enum and snd_card_type_enum_to_string functions.
- the /usr/share/alsa/cards.conf file contains the translation table Added snd_sctl_build and snd_sctl_free functions. Recoded the surround plugin to use the surround.conf file. - the /usr/share/alsa/surround.conf file contains the surround configuration
This commit is contained in:
parent
a5ddd2f21f
commit
232d703c23
10 changed files with 780 additions and 340 deletions
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
surround_plugin.SI_7018 { # test only
|
||||
channels.six = true;
|
||||
channels_six = true;
|
||||
open_multi {
|
||||
device.0 = 0;
|
||||
subdevice.0 = -1;
|
||||
|
|
@ -12,10 +12,28 @@ surround_plugin.SI_7018 { # test only
|
|||
device.2 = 0;
|
||||
subdevice.2 = -1;
|
||||
}
|
||||
open_control.0 {
|
||||
iface = MIXER;
|
||||
name = 'CD Playback Switch';
|
||||
index = 0;
|
||||
lock = true;
|
||||
preserve = true;
|
||||
value.0 = 1;
|
||||
value.1 = 1;
|
||||
}
|
||||
open_control.1 {
|
||||
iface = MIXER;
|
||||
name = 'CD Playback Volume';
|
||||
index = 0;
|
||||
lock = true;
|
||||
preserve = true;
|
||||
value.0 = 16;
|
||||
value.1 = 19;
|
||||
}
|
||||
}
|
||||
|
||||
surround_plugin.FM801 {
|
||||
channels.six = true;
|
||||
channels_six = true;
|
||||
open_single {
|
||||
device = 0;
|
||||
subdevice = 0;
|
||||
|
|
@ -97,8 +115,15 @@ surround_plugin.TRID4DWAVENX {
|
|||
}
|
||||
|
||||
surround_plugin.INTEL8X0 {
|
||||
channels.four = true;
|
||||
channels.six = true;
|
||||
channels_six = true;
|
||||
route {
|
||||
channel.0 = 0; # FR = FR
|
||||
channel.1 = 1; # FL = FL
|
||||
channel.2 = 4; # SR = Center
|
||||
channel.3 = 5; # SL = LFE
|
||||
channel.4 = 2; # Center = SR
|
||||
channel.5 = 3; # LFE = SL
|
||||
}
|
||||
open_single {
|
||||
device = 0;
|
||||
subdevice = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue