Bug 146447

Summary: parsing of ~/.asoundrc broken
Product: [openSUSE] SUSE Linux 10.1 Reporter: Florian Schmitt <florian>
Component: SoundAssignee: Takashi Iwai <tiwai>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Beta 2   
Target Milestone: ---   
Hardware: 32bit   
OS: SUSE Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Florian Schmitt 2006-01-28 12:45:43 UTC
hello,

To get my terratec aureon card working, I have a .asoundrc in my home directory. Since switching to opensuse 10.1 beta it stopped working.
> aplay
aplay: conf.c:3145: snd_config_iterator_first: Assertion `node->type == SND_CONFIG_TYPE_COMPOUND' failed.
Aborted

contents of my .asoundrc:

pcm.dmixer {
    type dmix
    ipc_key 1024 # must be unique!
    slave {
        pcm "hw:0,1"      # you cannot use a "plug" device here, darn.
        period_time 0
        period_size 1024 # must be power of 2
        buffer_size 8192  # dito. It
        format "S32_LE"
        period_time 0
        rate 48000
    }
}

pcm.!default {
  type plug
  slave.pcm "dmixer"
}
Comment 1 Takashi Iwai 2006-01-30 15:00:18 UTC
Fixed (in upstream, too).

A workaround with the existing version is to define "hw:0,1" as a compound, e.g.{ type hw; card 0; device 1 }