I've browsed and googled, but I having trouble understanding
how to build an Alsa environment that will allow me to play
WAV files with a higher sample rate than my sound card
supports.  Any pointers would be appreciated :)

I am trying to play a 24 bit, 96,000 khz WAV file on my VXpocket
V2 PCMCIA card using ALSA 1.0.0pre3.  With my original
/etc/asound.conf file as follows:

pcm.vxpocket {
   type hw
   card 1
}
ctl.vxpocket {
   type hw
   card 1
}

I got the following error messages ----->>>>>>>>>>>

[EMAIL PROTECTED] wav]$ aplay -Dhw:1,0 pocco.wav
Playing WAVE 'pocco.wav' : Signed 24 bit Little Endian in 3bytes, Rate 96000 Hz, Stereo
Warning: rate is not accurate (requested = 96000Hz, got = 48000Hz)
         please, try the plug plugin (-Dplug:hw:1,0)
Aborted by signal Interrupt...
[EMAIL PROTECTED] wav]$ aplay -Dplug:hw:1,0 pocco.wav
ALSA lib conf.c:3782:(parse_args) Unknown parameter 1
ALSA lib conf.c:3904:(snd_config_expand) Parse arguments error: No such file or
directory
ALSA lib pcm.c:1933:(snd_pcm_open_noupdate) Unknown PCM plug:hw:1,0
aplay: main:501: audio open error: No such file or directory
<end>

I attempted (guessed) at a modified /etc/asound.conf file:

pcm.vxpocket {
   type plug
   slave {
      pcm "hw:1,0"
      rate 48000
   }
}
ctl.vxpocket {
   type hw
   card 1
}

But got the following --------->>>>>>>>

[EMAIL PROTECTED] wav]$ aplay -Dplug:vxpocket pocco.wav
Playing WAVE 'pocco.wav' : Signed 24 bit Little Endian in 3bytes, Rate 96000 Hz, Stereo
aplay: pcm_write:1082: write error: Invalid argument
<end>

Thanks !   Scott.


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to