views:

30

answers:

0

First off, I don't know if this question is relevant at SO but I'm not getting any responses (yet) from the mailing list.So here goes anyway.

I am trying to get mpg123 working on my arm target board.I cross compiled and installed it but when I try to play files, I get the following error :

[audio.c:596] error: Error in writing audio (Input/output error?)!                                 
[mpg123.c:629] error: Deep trouble! Cannot flush to my output anymore!   

Any guesses on what could be wrong?

I had another query.The partial output from running the configure script is given below:

/*****************/  
Modules ................. disabled                                                               
 Checked audio modules ... alsa oss coreaudio sndio sun win32 os2 esd jack portaudio pulse sdl nasy
  Detected audio support .. oss dummy                                                              
  Default output module ... oss                  
/*****************/

Now when I had configured my kernel, I had selected ALSA as the sound system (and not OSS). Why is the mpg123's configure script detecting OSS (and dummy) instead of ALSA? Incidentally, when I compiled it on my x86 host, I get the exactly the same output.

I suppose that there is nothing wrong with the sound drivers because a "cat wavefile.wav>/dev/audio" works perfectly well on my target (I'm able to hear the sound).

Thanks!