On Mon, 2002-04-22 at 21:34, Adam K Kirchhoff wrote:
> 
> Can you post the exact contents of your .asoundrc on here?
> 
> Does alsaplayer work if you don't specify any specific options?
> 
Sure... and alsaplayer does work... just not with surround / 4channel
output.

Here's my asound file (the stuff you suggested I add is at the very end
since I had no idea as to a specific place to put it in the file).
Oops... since I reboot, that stuff you had me add disappeared.  Hmm..
there's another issue. :)
IN any case, I added your suggestions to the end with the mentioned
result (I run Debian, by the way, and am using the latest ALSA beta).
Todd

state.card0 {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'Master Playback Switch'
                value true
        }
        control.2 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 31'
                iface MIXER
                name 'Master Playback Volume'
                value.0 0
                value.1 0
        }
        control.3 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'Surround Playback Switch'
                value.0 true
                value.1 true
        }
        control.4 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 31'
                iface MIXER
                name 'Surround Playback Volume'
                value.0 0
                value.1 0
        }
        control.5 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'Master Mono Playback Switch'
                value true
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 31'
                iface MIXER
                name 'Master Mono Playback Volume'
                value 0
        }
        control.7 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'PC Speaker Playback Switch'
                value true
        }
        control.8 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 15'
                iface MIXER
                name 'PC Speaker Playback Volume'
                value 0
        }
        control.9 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'Phone Playback Switch'
                value true
        }
        control.10 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 15'
                iface MIXER
                name 'Phone Playback Volume'
                value 0
        }
        control.11 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'Mic Playback Switch'
                value false
        }
        control.12 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 15'
                iface MIXER
                name 'Mic Playback Volume'
                value 0
        }
        control.13 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'Mic Boost (+20dB)'
                value false
        }
        control.14 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'Line Playback Switch'
                value false
        }
        control.15 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 31'
                iface MIXER
                name 'Line Playback Volume'
                value.0 0
                value.1 0
        }
        control.16 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'CD Playback Switch'
                value true
        }
        control.17 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 31'
                iface MIXER
                name 'CD Playback Volume'
                value.0 0
                value.1 0
        }
        control.18 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'Video Playback Switch'
                value false
        }
        control.19 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 31'
                iface MIXER
                name 'Video Playback Volume'
                value.0 0
                value.1 0
        }
        control.20 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'Aux Playback Switch'
                value true
        }
        control.21 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 31'
                iface MIXER
                name 'Aux Playback Volume'
                value.0 0
                value.1 0
        }
        control.22 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'PCM Playback Switch'
                value true
        }
        control.23 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 31'
                iface MIXER
                name 'PCM Playback Volume'
                value.0 0
                value.1 0
        }
        control.24 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.item.0 Mic
                comment.item.1 CD
                comment.item.2 Video
                comment.item.3 Aux
                comment.item.4 Line
                comment.item.5 Mix
                comment.item.6 'Mix Mono'
                comment.item.7 Phone
                iface MIXER
                name 'Capture Source'
                value.0 Mic
                value.1 Mic
        }
        control.25 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'Capture Switch'
                value true
        }
        control.26 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 15'
                iface MIXER
                name 'Capture Volume'
                value.0 0
                value.1 0
        }
        control.27 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.item.0 'pre 3D'
                comment.item.1 'post 3D'
                iface MIXER
                name 'PCM Out Path & Mute'
                value 'pre 3D'
        }
        control.28 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name '3D Control - Switch'
                value true
        }
        control.29 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.item.0 Mix
                comment.item.1 Mic
                iface MIXER
                name 'Mono Output Select'
                value Mix
        }
        control.30 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.item.0 Mic1
                comment.item.1 Mic2
                iface MIXER
                name 'Mic Select'
                value Mic1
        }
        control.31 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 3'
                iface MIXER
                name '3D Control Sigmatel - Depth'
                value 0
        }
        control.32 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 3'
                iface MIXER
                name '3D Control Sigmatel - Rear Depth'
                value 0
        }
        control.33 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'External Amplifier Power Down'
                value false
        }
        control.34 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 16383'
                iface MIXER
                name 'Wave Playback Volume'
                value.0 16383
                value.1 16383
        }
        control.35 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 16383'
                iface MIXER
                name 'Wave Capture Volume'
                value.0 0
                value.1 0
        }
        control.36 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 16383'
                iface MIXER
                name 'Digital Capture Volume'
                value.0 16383
                value.1 16383
        }
        control.37 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 16383'
                iface MIXER
                name 'Digital Capture Volume'
                index 1
                value.0 16383
                value.1 16383
        }
        control.38 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 16383'
                iface MIXER
                name 'ADC Playback Volume'
                value.0 0
                value.1 0
        }
        control.39 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 16383'
                iface MIXER
                name 'ADC Capture Volume'
                value.0 16383
                value.1 16383
        }
        control.40 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 16383'
                iface MIXER
                name 'ADC Playback Volume'
                index 1
                value.0 0
                value.1 0
        }
        control.41 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 16383'
                iface MIXER
                name 'ADC Capture Volume'
                index 1
                value.0 0
                value.1 0
        }
        control.42 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 16383'
                iface MIXER
                name 'IEC958 AC97 Playback Volume'
                value.0 16383
                value.1 16383
        }
        control.43 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 16383'
                iface MIXER
                name 'IEC958 Capture Volume'
                value.0 0
                value.1 0
        }
        control.44 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 16383'
                iface MIXER
                name 'IEC958 AC97 Playback Volume'
                index 1
                value.0 16383
                value.1 16383
        }
        control.45 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 16383'
                iface MIXER
                name 'IEC958 Capture Volume'
                index 1
                value.0 0
                value.1 0
        }
        control.46 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'IEC958 Playback Switch'
                value false
        }
        control.47 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'IEC958 Capture Switch'
                value false
        }
        control.48 {
                comment.access 'read write'
                comment.type IEC958
                iface PCM
                device 1
                name 'IEC958 Playback Default'
                value
'0082000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
        }
        control.49 {
                comment.access read
                comment.type IEC958
                iface PCM
                device 1
                name 'IEC958 Playback Con Mask'
                value
'3eff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
        }
        control.50 {
                comment.access 'read write inactive'
                comment.type IEC958
                iface PCM
                device 1
                name 'IEC958 Playback PCM Stream'
                value
'0082000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
        }
        control.51 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface CARD
                name Joystick
                value false
        }
        control.52 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.item.0 'port 0x201'
                comment.item.1 'port 0x202'
                comment.item.2 'port 0x204'
                comment.item.3 'port 0x205'
                iface CARD
                name 'Joystick Address'
                value 'port 0x201'
        }
}
state.Hoontech-XG {
        pcm.ch4dup {
                type plug
                slave.pcm surround40
                ttable.0.0 1
                ttable.0.2 1
                ttable.1.1 1
                ttable.1.3 1
        }
        pcm.dsp0 'pcm.ch4dup'
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'Master Playback Switch'
                value true
        }
        control.2 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 31'
                iface MIXER
                name 'Master Playback Volume'
                value.0 20
                value.1 20
        }
        control.3 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'Surround Playback Switch'
                value.0 false
                value.1 false
        }
        control.4 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 31'
                iface MIXER
                name 'Surround Playback Volume'
                value.0 23
                value.1 23
        }
        control.5 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'Master Mono Playback Switch'
                value false
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 31'
                iface MIXER
                name 'Master Mono Playback Volume'
                value 0
        }
        control.7 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'PC Speaker Playback Switch'
                value true
        }
        control.8 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 15'
                iface MIXER
                name 'PC Speaker Playback Volume'
                value 10
        }
        control.9 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'Phone Playback Switch'
                value true
        }
        control.10 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 15'
                iface MIXER
                name 'Phone Playback Volume'
                value 11
        }
        control.11 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'Mic Playback Switch'
                value true
        }
        control.12 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 15'
                iface MIXER
                name 'Mic Playback Volume'
                value 11
        }
        control.13 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'Mic Boost (+20dB)'
                value false
        }
        control.14 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'Line Playback Switch'
                value true
        }
        control.15 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 31'
                iface MIXER
                name 'Line Playback Volume'
                value.0 21
                value.1 21
        }
        control.16 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'CD Playback Switch'
                value true
        }
        control.17 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 31'
                iface MIXER
                name 'CD Playback Volume'
                value.0 24
                value.1 24
        }
        control.18 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'Video Playback Switch'
                value true
        }
        control.19 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 31'
                iface MIXER
                name 'Video Playback Volume'
                value.0 21
                value.1 21
        }
        control.20 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'Aux Playback Switch'
                value true
        }
        control.21 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 31'
                iface MIXER
                name 'Aux Playback Volume'
                value.0 17
                value.1 17
        }
        control.22 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'PCM Playback Switch'
                value true
        }
        control.23 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 31'
                iface MIXER
                name 'PCM Playback Volume'
                value.0 20
                value.1 20
        }
        control.24 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.item.0 Mic
                comment.item.1 CD
                comment.item.2 Video
                comment.item.3 Aux
                comment.item.4 Line
                comment.item.5 Mix
                comment.item.6 'Mix Mono'
                comment.item.7 Phone
                iface MIXER
                name 'Capture Source'
                value.0 Mic
                value.1 Mic
        }
        control.25 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'Capture Switch'
                value true
        }
        control.26 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 15'
                iface MIXER
                name 'Capture Volume'
                value.0 8
                value.1 8
        }
        control.27 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.item.0 'pre 3D'
                comment.item.1 'post 3D'
                iface MIXER
                name 'PCM Out Path & Mute'
                value 'pre 3D'
        }
        control.28 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name '3D Control - Switch'
                value false
        }
        control.29 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.item.0 Mix
                comment.item.1 Mic
                iface MIXER
                name 'Mono Output Select'
                value Mix
        }
        control.30 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.item.0 Mic1
                comment.item.1 Mic2
                iface MIXER
                name 'Mic Select'
                value Mic1
        }
        control.31 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 3'
                iface MIXER
                name '3D Control Sigmatel - Depth'
                value 2
        }
        control.32 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 3'
                iface MIXER
                name '3D Control Sigmatel - Rear Depth'
                value 2
        }
        control.33 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'External Amplifier Power Down'
                value false
        }
        control.34 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 16383'
                iface MIXER
                name 'Wave Playback Volume'
                value.0 16383
                value.1 16383
        }
        control.35 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 16383'
                iface MIXER
                name 'Wave Capture Volume'
                value.0 0
                value.1 0
        }
        control.36 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 16383'
                iface MIXER
                name 'Digital Capture Volume'
                value.0 16383
                value.1 16383
        }
        control.37 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 16383'
                iface MIXER
                name 'Digital Capture Volume'
                index 1
                value.0 16383
                value.1 16383
        }
        control.38 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 16383'
                iface MIXER
                name 'ADC Playback Volume'
                value.0 12136
                value.1 12136
        }
        control.39 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 16383'
                iface MIXER
                name 'ADC Capture Volume'
                value.0 12136
                value.1 12136
        }
        control.40 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 16383'
                iface MIXER
                name 'ADC Playback Volume'
                index 1
                value.0 12136
                value.1 12136
        }
        control.41 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 16383'
                iface MIXER
                name 'ADC Capture Volume'
                index 1
                value.0 12136
                value.1 12136
        }
        control.42 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 16383'
                iface MIXER
                name 'IEC958 AC97 Playback Volume'
                value.0 16383
                value.1 16383
        }
        control.43 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 16383'
                iface MIXER
                name 'IEC958 Capture Volume'
                value.0 0
                value.1 0
        }
        control.44 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 16383'
                iface MIXER
                name 'IEC958 AC97 Playback Volume'
                index 1
                value.0 16383
                value.1 16383
        }
        control.45 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 16383'
                iface MIXER
                name 'IEC958 Capture Volume'
                index 1
                value.0 0
                value.1 0
        }
        control.46 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'IEC958 Playback Switch'
                value false
        }
        control.47 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'IEC958 Capture Switch'
                value false
        }
        control.48 {
                comment.access 'read write'
                comment.type IEC958
                iface PCM
                device 1
                name 'IEC958 Playback Default'
                value
'0082000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
        }
        control.49 {
                comment.access read
                comment.type IEC958
                iface PCM
                device 1
                name 'IEC958 Playback Con Mask'
                value
'3eff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
        }
        control.50 {
                comment.access 'read write inactive'
                comment.type IEC958
                iface PCM
                device 1
                name 'IEC958 Playback PCM Stream'
                value
'0082000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
        }
        control.51 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface CARD
                name Joystick
                value false
        }
        control.52 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.item.0 'port 0x201'
                comment.item.1 'port 0x202'
                comment.item.2 'port 0x204'
                comment.item.3 'port 0x205'
                iface CARD
                name 'Joystick Address'
                value 'port 0x201'
        }
}


_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to