Rhythmbox plays very interrupted

Stefan Schimanski schimmi at debian.org
Fri Sep 16 01:47:58 CDT 2005


Hi Martin!

> Breezy now activates dmix by default, so this should work out of the
> box, right. But I am interested why it broke with a custom
> configuration. Do you still have the original asound.conf around? What
> did you change in it?


pcm.card0 {
	type hw
	card 0 
	mmap_emulation true
}

pcm.dmixer { 
    type dmix 
    ipc_key 1024 # This must be a unique IPC key (see ipcs output) 
    ipc_key_add_uid true # UID will be added to IPC key 
    slave { 
        pcm "card0" 
        period_time 0 
        period_size 1024 # Must be power of 2 for alsa-oss 
        buffer_size 8192 # dito
    	rate 44100 
    } 
}

pcm.dsnooper {
    ipc_key 1027
    type dsnoop
    slave { 
        pcm "card0" 
        period_time 0 
        period_size 1024 # Must be power of 2 for alsa-oss 
        buffer_size 8192 # dito
    	rate 44100 
    } 
}

pcm.asymed { 
	type asym 
    playback.pcm "dmixer" 
    capture.pcm "card0" 
} 
  
pcm.dsp0 { 
    type plug 
    slave.pcm "asymed" 
} 
  
pcm.!default { 
	type plug 
    slave.pcm "asymed" 
} 
  
pcm.default { 
   type plug 
   slave.pcm "asymed" 
} 
  
ctl.mixer0 { 
    type hw 
    card 0 
}


> Also, out of interest, does it make any difference whether you have
> gstreamer output to esd or directly to ALSA now?

No, it works either way now.

Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.ubuntu.com/archives/ubuntu-devel/attachments/20050916/fbbd25f3/attachment-0001.pgp


More information about the ubuntu-devel mailing list