[Alsaplayer-devel] alsaplayer configure says "Build alsa 0.9.x output plugin: no"

Dominique Michel dominique.michel at citycable.ch
Mon Oct 1 20:55:41 BST 2007


Le Mon, 01 Oct 2007 10:18:21 -0500,
Timur Tabi <timur at freescale.com> a écrit :

> Frank Baumgart wrote:
> >> failed to configure output device...trying OSS
> >> error opening /dev/dsp
> >> Failed to initialize plugin!
> >> Failed to register plugin: /usr/local/lib/alsaplayer/output/liboss_out.so
> >> failed to load output plugin (alsa). exitting...
> >>
> > looks like you did not configure your sound card (for alsa).
> 
> Can you be more specific?  What exactly am I missing?  I have a suspicion
> that there are configuration changes I need to make, but I can't figure out
> what they are.
> 

Alsa configuration is in /etc/modules.d/alsa 
It have several parts. Here is an example for 2 sound cards:

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

##  ALSA portion
alias snd-card-0 snd-emu10k1
options snd-emu10k1 index=0
alias snd-card-1 snd-usb-audio
options snd-usb-audio index=1

##  OSS/Free portion
alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1

# OSS/Free portion - 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
##  OSS/Free portion - card #2
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-12 snd-pcm-oss
## If more sound cards, they need only 3 options like card #2

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.
options snd cards_limit=2

All this follow the guide line from alsa-configuration.txt in
alsa-driver's documentation or the kernel doc.

> > does any other sound application that you have work with your alsa
> > configuration?
> 
> aplay works.
> 

Do you have an ~/.asoundrc file? If so, try to move/rename it, restart alsa and
try again with alsaplayer.
-- 
Dominique Michel

--
N.B.: Tous les emails que je reçois sont filtrés par spamassassin avant de me
parvenir.



More information about the alsaplayer-devel mailing list