[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ALSA config file for Toonie broken



Dnia 12-01-2006, czw o godzinie 19:01 +0100, Elimar Riesebieter
napisał(a):
> On Thu, 12 Jan 2006 the mental interface of
> Michel Dänzer told:
> 
> > On Thu, 2006-01-12 at 16:29 +0100, Andrzej Mendel wrote:
> > > After several months of working with half-functional custom ~/.asound.rc
> > > file I managed to somehow nuke this file and faces the folowing problem:
> > > Initializing SDL audio subsystem.
> > > ALSA lib conf.c:1596:(snd_config_load1) :51:1:Unexpected }
> > 
> > [...]
> > 
> > > This may happen when a soundcard is not present or not available.
> > > while trying to launch UQM. /usr/share/alsa/cards/PMacToonie.conf is
> > > indeed corrupted, with spurious "}" at the end, making the default
> > > configuration unusable. Fixing that gave me a fully functional ALSA
> > > without a need  
> > 
> > With something like the attached patch, I assume.
> 
> Thanks for the patch ;) Has someone tested the apatch? I don't have
> a Toonie handy. Jordi and Thomas hve to update alsalib at next
> upload then ;)
> 
> 
> > --- /usr/share/alsa/cards/PMacToonie.conf.dpkg-dist	2006-01-12 16:57:40.297534306 +0100
> > +++ /usr/share/alsa/cards/PMacToonie.conf	2006-01-12 16:58:09.833809071 +0100
> > @@ -28,6 +28,7 @@ PMacToonie.pcm.default {
> >  		type string
> >  	}
> >  	type asym
> > +	playback.pcm {
> >  		type plug
> >  		slave.pcm {
> >  			type softvol
> 
> Elimar
To be frank, in my first atempt to fix it I just removed "}" at the end
and it worked. Applying this patch mendel Toonie as well. I don't know,
which aproach is better, I'm no ALSA expert.
To sum things up, the proposed patch works, at least for audio output.
Even if it doesn't make audio input work (I'm not sure, if there are any
Toonies with audio in), it's still better than before.



Reply to: