Summary:
Hear the wrong frequency sound when aplay correct params on BYT-rt5651 platform.
Dmesg and sof-logger have no obvious error trace.
Step:
1.aplay -Dhw:0,0 -c2 -r48000 -fS16_LE Music/sine_48k_16bit_10s_stereo_l5_r2.wav -vv -i
Output:
Playing WAVE 'Music/sine_48k_16bit_10s_stereo_l5_r2.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
Hardware PCM card 0 'sof-bytcr-rt5651' device 0 subdevice 0
Its setup is:
stream : PLAYBACK
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 48000
exact rate : 48000 (48000/1)
msbits : 16
buffer_size : 16320
period_size : 4032
period_time : 84000
tstamp_mode : NONE
tstamp_type : MONOTONIC
period_step : 1
avail_min : 4032
period_event : 0
start_threshold : 16320
stop_threshold : 16320
silence_threshold: 0
silence_size : 0
boundary : 9187343239835811840
appl_ptr : 0
hw_ptr : 0
#########################+ | 48%
Env:
sof master: 052942c
kernel sof-dev: f304b5c
tplg: sof-byt-rt5651.tplg
Recorded sine file
Recorded_sine.zip
:

Original sine file:
Original_sine.zip
Summary:
Hear the wrong frequency sound when aplay correct params on BYT-rt5651 platform.
Dmesg and sof-logger have no obvious error trace.
Step:
1.aplay -Dhw:0,0 -c2 -r48000 -fS16_LE Music/sine_48k_16bit_10s_stereo_l5_r2.wav -vv -i
Output:
Env:
sof master: 052942c
kernel sof-dev: f304b5c
tplg: sof-byt-rt5651.tplg
Recorded sine file

Recorded_sine.zip
:
Original sine file:
Original_sine.zip