On Tuesday, 19. February 2002 02:12, you wrote: > On Mon, 18 Feb 2002, Jan Suhr wrote: > >> Your soundcard doesn't support the specified s24bit, 96khz, 2ch > >> audio format natively, so you'll have to use ALSA's plugin layer > >> which converts the audio data into a format your soundcard does > >> support. To do this, replace "alsa,hw:0" with "alsa,default" or > >> "alsa,plughw:0". > > > > I hear something but its only noise, no sound. > > Hmm, to make sure the 24bit file is interpreted correctly, try the > following: > > # if the mp3 plays fine, continue to next step > ecasound -i foo.mp3 -f:s16,2,44100 -o alsa,default
You know, I would like to play a 24b/96kHz _wav_ file not mp3? Ok, I take another mp3 file and test it: - [ Chainsetup/Enabling audio inputs ] ------------------------------------- (eca-audio-objects) Audio object "Time.mp3", mode "read". (audio-io) Format: s16_le, channels 2, srate 44100, interleaved. - [ Chainsetup/Enabling audio outputs ] ------------------------------------ (eca-audio-objects) Audio object "alsa", mode "write". (audio-io) Format: s16_le, channels 2, srate 44100, interleaved. - [ Engine/Init - mixmode "simple" ] --------------------------------------- (audioio-mp3) Can't start process "mpg123 --stereo -r %s -b 0 -q -s -k %o %f". Please check your ~/.ecasoundrc. - [ Engine/Exiting ] ------------------------------------------------------- ALSA lib pcm_hw.c:265:(snd_pcm_hw_hw_free) SNDRV_PCM_IOCTL_HW_FREE failed: File descriptor in bad state with a wav file: noise > # let's convert to higher quality before playback > ecasound -i foo.mp3 -f:s24,2,44100 -o alsa,default with mp3: - [ Chainsetup/Enabling audio inputs ] ------------------------------------- (eca-audio-objects) Audio object "Time.mp3", mode "read". (audio-io) Format: s16_le, channels 2, srate 44100, interleaved. - [ Chainsetup/Enabling audio outputs ] ------------------------------------ (eca-audio-objects) Audio object "alsa", mode "write". (audio-io) Format: s24_le, channels 2, srate 44100, interleaved. - [ Engine/Init - mixmode "simple" ] --------------------------------------- Speicherzugriffsfehler (memory error) with wav: noise > # now convert into a 24bit wave file (first 15secs of the mp3) > ecasound -i foo.mp3 -f:s24,2,44100 -o 24bit_test.wav -t:15 (eca-chainsetup) Set processing time to 15.00. - [ Chainsetup/Enabling audio inputs ] ------------------------------------- (eca-audio-objects) Audio object "Time.mp3", mode "read". (audio-io) Format: s16_le, channels 2, srate 44100, interleaved. - [ Chainsetup/Enabling audio outputs ] ------------------------------------ (eca-audio-objects) Audio object "test.wav", mode "read/write". (audio-io) Format: s24_le, channels 2, srate 44100, interleaved. - [ Engine/Init - mixmode "simple" ] --------------------------------------- (audioio-mp3) Can't start process "mpg123 --stereo -r %s -b 0 -q -s -k %o %f". Please check your ~/.ecasoundrc. - [ Engine/Exiting ] ------------------------------------------------------- mpg123 is not installed on my system. Should I install it? Jan > # now playback the wav file > ecasound -i 24bit_test.wav -f:s24,2,44100 -o alsa,default > > Let me know if the above work (and if not, which cases fail). > > >> echo aio-register | ecasound -c |grep alsa > > [...] > > > my output is: > > 32. ^alsa$, handled by "ALSA named PCM device". (params: > > label,pcm_name) 33. ^alsa_06$, handled by "ALSA named PCM device". > > (params: label,pcm_name) > > This is enough to confirm that ALSA0.9 is compiled in and should work > ok (... "ecasound -i foo.mp3 -o alsa,default"). _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user