Skip to contentSkip to conversation

Question about Surround (4.0) and the Revolution 7.1 card

DISCUSSION Tom Watson 1 participant 1 message Aug 30, 2005 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Tom Watson

author
#1 lore raw

In futzing around with the M-Audio Revolution card and newer ALSA (1.0.10rc1), I found that surround40 doesn't appear to work. It gives an invalid slave channel:

[tsw alsa]$ aplay -Dsurround40 quad_id.wav
ALSA lib pcm_route.c:1005:(snd_pcm_route_load_ttable) Invalid slave channel: 4
aplay: main:540: audio open error: Invalid argument

Of course, using 'default' works just fine (without the '-DSurround40'). This is an example the problem I'm having. I believe that this because something changed in the Revo driver. Here are some files that I believe shed some light on the problem:

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

The soundcard list from 'aplay':

[tsw alsa]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Revolution71 [M Audio Revolution-7.1], device 0: ICE1724 [ICE1724]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Revolution71 [M Audio Revolution-7.1], device 1: IEC1724 IEC958 [IEC1724 IEC958]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Revolution71 [M Audio Revolution-7.1], device 2: ICE1724 Surrounds [ICE1724 Surround PCM]
Subdevices: 3/3
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

A portion of ICE1724.conf

...

ICE1724.pcm.surround40.0 {
        @args [ CARD ]
        @args.CARD {
                type string
        }
        type route
        ttable.0.0 1
        ttable.1.1 1
        ttable.2.4 1
        ttable.3.5 1
        slave {
                channels 4
                pcm {
                        type hw
                        card $CARD
                }
        }
}

...

All I know is that something changed in recent versions. I was using one of the 0.9.x versions and (insert doubting words here) it did work.

I think it is because the device seperates the "normal" (front) channels from the "surround" (the other 6) channels. Are the routes correct?

I'm not an expert in the configuration files, thus the message.

Thanks

Signature · 16 lines
Tom Watson
[email protected]


		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf