Skip to contentSkip to conversation

: Cannot aplay to Sound Galaxy card with alsa-lib 1.0.8: looks for "/usr/share/alsa/cards/Sound Galaxy.conf"

ALSA - lib 0000899 [email protected] 1 participant 1 message Feb 9, 2005

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=899>
======================================================================
Reported By: jdthood
Assigned To:
======================================================================

Project:                    ALSA - lib
Issue ID:                   899
Category:                   general
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             02-09-2005 17:14 CET
Last Modified:              02-09-2005 17:56 CET

======================================================================
Summary: Cannot aplay to Sound Galaxy card with alsa-lib
1.0.8: looks for "/usr/share/alsa/cards/Sound Galaxy.conf" Description:
This is forwarded Debian bug report
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=293907. Please see
http://bugs.debian.org/293907 for the full report.

The submitter says that with his Sound Galaxy card he cannot get aplay to work. He gets the following error when he runs aplay:

-------------- error message ----------------------

ALSA lib conf.c:2792:(snd_config_hook_load) "/usr/share/alsa/cards/Sound Galaxy.conf" is not a word
ALSA lib conf.c:2672:(snd_config_hooks_call) function snd_config_hook_load_for_all_cards returned error: Invalid argument ALSA lib pcm.c:1947:(snd_pcm_open_conf) Invalid type for PCM default definition (id: default, value: cards.pcm.default)
aplay: main:508: audio open error: Invalid argument

------------ end error message ---------------------

There is no "Sound Galaxy.conf" file, but the user doesn't get an error message when he uses alsa-lib 1.0.7.

======================================================================

----------------------------------------------------------------------
tiwai - 02-09-05 17:56
----------------------------------------------------------------------
The attached patch fixes the problem.

Issue History
Date Modified Username Field Change
======================================================================
02-09-05 17:14 jdthood New Issue
02-09-05 17:56 tiwai Note Added: 0003560
======================================================================

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click