Hi, we use DM8168EVM+3101, RDK4.0.
I set the period size to frames = 1024;
err = snd_pcm_hw_params_set_period_size_near(alsa_handle, hw_params, &frames, &dir);
but when dump the params, the period is 1025?
Plug PCM: Hardware PCM card 0 'TI81XX SOUND0' device 1 subdevice 0
Its setup is:
stream : CAPTURE
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 48000
exact rate : 48000 (48000/1)
msbits : 16
buffer_size : 31775
period_size : 1025
period_time : 21354
tstamp_mode : NONE
period_step : 1
avail_min : 1025
period_event : 0
start_threshold : 1
stop_threshold : 31775
silence_threshold: 0
silence_size : 0
boundary : 2082406400
appl_ptr : 0
hw_ptr : 0
I'm doubtful that the redundant one generates the noise.
How can I handle it to 1024?