Hi guys,
I remember you my main problem with alsa: when I try to play a sound with aplay, it doesn't work.

$ aplay test.wav
ALSA lib confmisc.c:560:(snd_determine_driver) could not open control for card 1 ALSA lib conf.c:2699:(snd_config_hooks_call) function snd_config_hook_load_for_all_cards returned error: No such file or directory ALSA lib pcm.c:1969:(snd_pcm_open_conf) Invalid type for PCM default definition (id: default, value: cards.pcm.default)
aplay: main:547: audio open error: Invalid argument

It also happens with mplayer:

$ mplayer -ao alsa test.wav
MPlayer 1.0pre7try2-3.3.6 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping: 7)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
85 audio & 196 video codecs
Playing test.wav.
Audio file detected.
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 22254 Hz, 1 ch, u8, 178.0 kbit/100.00% (ratio: 22254->22254)
Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
==========================================================================
Checking audio filter chain for 22254Hz/1ch/u8 -> 22254Hz/2ch/u8...
AF_pre: 22254Hz/1ch/u8
alsa-init: 1 soundcard found, using: default
ALSA lib confmisc.c:560:(snd_determine_driver) could not open control for card 1 ALSA lib conf.c:2699:(snd_config_hooks_call) function snd_config_hook_load_for_all_cards returned error: No such file or directory ALSA lib pcm.c:1969:(snd_pcm_open_conf) Invalid type for PCM default definition (id: default, value: cards.pcm.default)
alsa-init: playback open error: Invalid argument
Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video
Exiting... (End of file)

And it also happens when I start aRts with alsa as audio device:

Sound server informational message:
Error while initializing the sound driver:
device: default can't be opened for playback (Invalid argument)
The sound server will continue, using the null output device.

Lee suggest me to install alsa v1.0.11rc, so this is my current version of alsa. (Thanx Lee for all your posts!)
Any suggestions?
Thanx.
ByEz!!!



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to