Hi guys,
this is my first post in this mailing list. I've got a problem using ALSA: I've installed tho sources following the documentation step-by-step. That's OK, but when I try to run aplay here's what happen:

$ aplay -D intel8x0 test.wav
aplay: main:533: audio open error: No such file or directory


And when I try to run mplayer using alsa, something similar happens:

$ 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 pcm_dmix.c:819:(snd_pcm_dmix_open) unable to open slave
alsa-init: playback open error: No such file or directory
Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video

Exiting... (End of file)

Another problem occours with midi. I cannot play midi. No way.
Furthermore, I've got a problem using aRts and Alsa together: when using aRts, all kde's sounds work well, but I can't use mplayer because aRts block the /dev/dsp device. I cannot listen sounds in web pages, too. How can I use aRts and ALSA together? Finally, a little audio delay problem: when aRts is not active, all the videos have an audio delay. E.g.: if a watch a movie using mplayer, the audio has ALWAYS delay, and also Flash movies in web pages have audio delay.


Anyone can help me? Here's some data:

- Debian testing
- kernel 2.6.10
- KDE 3.4.2
- Audio device: INTEL 82801DB-ICH4 (DUPLEX)
- Sound Driver: 3.8.1a-980706 (ALSA v1.0.9 emulation code)

- $ cat /etc/modutils/alsa (this file is inserted into /etc/modules.conf when i run #update-modules)
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-intel8x0
#module options should go here

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0

# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss


- $ ll /dev/dsp*
lrwxrwxrwx  1 root root       9 2006-01-05 21:44 /dev/dsp -> /dev/dsp0
crw-rw-rw-  1 root audio 14,  3 2005-06-22 16:50 /dev/dsp0
crw-rw-rw-  1 root audio 14, 35 2005-06-22 16:50 /dev/dsp2
crw-rw-rw-  1 root audio 14, 51 2005-06-22 16:50 /dev/dsp3


- $ ll /dev/midi*
lrwxrwxrwx  1 root audio      6 2005-06-22 16:50 /dev/midi -> midi00
crw-rw-rw-  1 root audio 14,  2 2005-06-22 16:50 /dev/midi00
crw-rw----  1 root audio 14, 18 2005-06-22 16:50 /dev/midi01
crw-rw----  1 root audio 14, 34 2005-06-22 16:50 /dev/midi02
crw-rw----  1 root audio 14, 50 2005-06-22 16:50 /dev/midi03
crw-rw----  1 root audio 35,  1 2004-09-18 13:52 /dev/midi1
crw-rw----  1 root audio 35,  2 2004-09-18 13:52 /dev/midi2
crw-rw----  1 root audio 35,  3 2004-09-18 13:52 /dev/midi3


- $ cat .asoundrc
pcm.intel8x0 {
       type hw
       card 0
}

ctl.intel8x0 {
       type hw
       card 0
}


Thanx guys!!!
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