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

Re: changing sound parameter on startup



Regarding getting
echo 1024 > /proc/asound/card0/pcm0p/sub0/prealloc
equivalent on startup:

On Sun, 2012-05-27 at 16:38 +1200, Chris Bannister wrote:
> On Sat, May 26, 2012 at 02:20:32PM -0700, Ross Boylan wrote:
> > On Sat, 2012-05-26 at 23:55 +0300, Volkan YAZICI wrote:
> > > /etc/rc.local?
> > The comment says
> > # This script is executed at the end of each multiuser runlevel.
> > which doesn't sound like the right place.  I'm also not sure if that
> 
> It is the right place. It means that any commands in rc.local will be
> executed *AFTER* all the commands have been executed in the other rc
> scripts.
That sounds as if it's the automatic equivalent of what I'm doing now,
which is certainly an improvement.

There might be a remaining problem.  I've disabled sound in KDE because
even root can't change the buffer size if KDE sound is on.  I'd like to
reenable KDE sound.  Since the startup scripts only start KDM, not KDE,
maybe that's not an issue.


Ross


Reply to: