defaults.pcm.card UA25
on one line by itself??
If I replace my current asound.conf with that line I get these errors when restarting alsa:
tony@o_0 ~ $ sudo /etc/init.d/alsasound restart
* Storing ALSA Mixer Levels ...
ALSA lib conf.c:976:(parse_value) card is not a string
ALSA lib conf.c:1589:(snd_config_load1) _toplevel_:9:0:Invalid argument
ALSA lib conf.c:2850:(snd_config_hook_load) /etc/asound.conf may be old or corrupted: consider to remove or fix it
ALSA lib conf.c:2714:(snd_config_hooks_call) function snd_config_hook_load returned error: Invalid argument
ALSA lib conf.c:3079:(snd_config_update_r) hooks failed, removing configuration
alsactl: get_controls:552: snd_ctl_open error: Invalid argument
* Error saving levels. [ !! ]
* Loading ALSA modules ... [ ok ]
* Restoring Mixer Levels ...
ALSA lib conf.c:976:(parse_value) card is not a string
ALSA lib conf.c:1589:(snd_config_load1) _toplevel_:9:0:Invalid argument
ALSA lib conf.c:2850:(snd_config_hook_load) /etc/asound.conf may be old or corrupted: consider to remove or fix it
ALSA lib conf.c:2714:(snd_config_hooks_call) function snd_config_hook_load returned error: Invalid argument
ALSA lib conf.c:3079:(snd_config_update_r) hooks failed, removing configuration
alsactl: set_controls:1409: snd_ctl_open error: Invalid argument
ALSA lib conf.c:976:(parse_value) card is not a string
ALSA lib conf.c:1589:(snd_config_load1) _toplevel_:9:0:Invalid argument
ALSA lib conf.c:2850:(snd_config_hook_load) /etc/asound.conf may be old or corrupted: consider to remove or fix it
ALSA lib conf.c:2714:(snd_config_hooks_call) function snd_config_hook_load returned error: Invalid argument
ALSA lib conf.c:3079:(snd_config_update_r) hooks failed, removing configuration
/etc/init.d/alsasound: line 146: 12373 Segmentation fault alsactl -f "${alsastatedir}/asound.state" restore ${cardnum}
* Errors while restoring defaults, ignoring
ALSA lib conf.c:976:(parse_value) card is not a string
ALSA lib conf.c:1589:(snd_config_load1) _toplevel_:9:0:Invalid argument
ALSA lib conf.c:2850:(snd_config_hook_load) /etc/asound.conf may be old or corrupted: consider to remove or fix it
ALSA lib conf.c:2714:(snd_config_hooks_call) function snd_config_hook_load returned error: Invalid argument
ALSA lib conf.c:3079:(snd_config_update_r) hooks failed, removing configuration
alsactl: set_controls:1409: snd_ctl_open error: Invalid argument
ALSA lib conf.c:976:(parse_value) card is not a string
ALSA lib conf.c:1589:(snd_config_load1) _toplevel_:9:0:Invalid argument
ALSA lib conf.c:2850:(snd_config_hook_load) /etc/asound.conf may be old or corrupted: consider to remove or fix it
ALSA lib conf.c:2714:(snd_config_hooks_call) function snd_config_hook_load returned error: Invalid argument
ALSA lib conf.c:3079:(snd_config_update_r) hooks failed, removing configuration
/etc/init.d/alsasound: line 146: 12375 Segmentation fault alsactl -f "${alsastatedir}/asound.state" restore ${cardnum}
* Errors while restoring defaults, ignoring [ ok ]
On Mon, Feb 8, 2010 at 11:11 PM, Clemens Ladisch <clemens@xxxxxxxxxx> wrote:
Tony Miller wrote:
> I made this /etc/asound.conf to make the ua-25 the default soundcard:
>
> pcm.!default {
> type hw card UA25
> }
>
> If an application that uses the card has started, any other applications I
> start cannot play sound through the card.
>
> Do I have to configure it to use dmix? I remember reading somewhere that youThe default configuration would use dmix, but your configuration file
> shouldn't need to configure dmix anymore, it should work automatically, and
> if not a bug should be reported.
overrides this.
Try instead the following:
defaults.pcm.card UA25
HTH
Clemens
------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user