In an embedded application we use aplay 1.0.18.
We have a problem with a stereo 8KHz wav file.
my asound.conf is:
pcm.converter {
type plug
slave {
pcm "hw:0"
channels 1
rate 44100
}
}
if I run:
$ aplay -vD sweep-st-8k.wav
Playing WAVE '/opt/repo/data/sweep-st-8k.wav' : Signed 16 bit Little
Endian, Rate 8000 Hz, Stereo
aplay: set_params:1022: Unable to install hw params:
ACCESS: RW_INTERLEAVED
FORMAT: S16_LE
SUBFORMAT: STD
SAMPLE_BITS: 16
FRAME_BITS: 32
CHANNELS: 2
RATE: NONE
PERIOD_TIME: (125011 125012)
PERIOD_SIZE: NONE
PERIOD_BYTES: (4000 4004)
PERIODS: (3 4)
BUFFER_TIME: 500000
BUFFER_SIZE: 4000
BUFFER_BYTES: 16000
TICK_TIME: 0
why RATE: NONE?
maybe its a bug of that version?
thanks
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user