[alsa-devel] Error with "Unsigned 8 bit, Rate 8000 Hz, Mono" track

Fabio Estevam festevam at gmail.com
Fri Aug 10 06:25:13 CEST 2012


Hi,

Running 3.6-rc1 on a mx28evk I get the following error with this wav format:

root at freescale /home$ aplay k3b_error1.wav
Playing WAVE 'k3b_error1.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
[  303.640000] asoc: machine hw_params failed: -22
aplay: set_params:959: Unable to install hw params:
ACCESS:  RW_INTERLEAVED
FORMAT:  U8
SUBFORMAT:  STD
SAMPLE_BITS: 8
FRAME_BITS: 8
CHANNELS: 1
RATE: 8000
PERIOD_TIME: 125000
PERIOD_SIZE: 1000
PERIOD_BYTES: 1000
PERIODS: 4
BUFFER_TIME: 500000
BUFFER_SIZE: 4000
BUFFER_BYTES: 4000
TICK_TIME: 0

Haven't started debugging yet, but if anyone sees something obvious,
please let me know.

This same file plays correctly on mx31/mx27/mx51/mx6q boards.

Regards,

Fabio Estevam


More information about the Alsa-devel mailing list