Ok, so 1024 overruns: # aplay -D hw:0,0 -v --buffer-size=1024 /tmp/fr025.wav Playing WAVE '/tmp/fr025.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo Hardware PCM card 0 'HDA Intel PCH' device 0 subdevice 0 Its setup is: stream : PLAYBACK access : RW_INTERLEAVED format : S16_LE subformat : STD channels : 2 rate : 44100 exact rate : 44100 (44100/1) msbits : 16 buffer_size : 1024 period_size : 256 period_time : 5804 tstamp_mode : NONE period_step : 1 avail_min : 256 period_event : 0 start_threshold : 1024 stop_threshold : 1024 silence_threshold: 0 silence_size : 0 boundary : 4611686018427387904 appl_ptr : 0 hw_ptr : 0 underrun!!! (at least 2.306 ms long) Status: state : XRUN trigger_time: 7298.28726754 tstamp : 7298.31029657 delay : 0 avail : 1177 avail_max : 1177
2048 does not:
# aplay -D hw:0,0 -v --buffer-size=2048 /tmp/fr025.wav Playing WAVE '/tmp/fr025.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo Hardware PCM card 0 'HDA Intel PCH' device 0 subdevice 0 Its setup is: stream : PLAYBACK access : RW_INTERLEAVED format : S16_LE subformat : STD channels : 2 rate : 44100 exact rate : 44100 (44100/1) msbits : 16 buffer_size : 2048 period_size : 512 period_time : 11609 tstamp_mode : NONE period_step : 1 avail_min : 512 period_event : 0 start_threshold : 2048 stop_threshold : 2048 silence_threshold: 0 silence_size : 0 boundary : 4611686018427387904 appl_ptr : 0 hw_ptr : 0
Ok, so 1024 overruns: threshold: 0
# aplay -D hw:0,0 -v --buffer-size=1024 /tmp/fr025.wav
Playing WAVE '/tmp/fr025.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Hardware PCM card 0 'HDA Intel PCH' device 0 subdevice 0
Its setup is:
stream : PLAYBACK
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 44100
exact rate : 44100 (44100/1)
msbits : 16
buffer_size : 1024
period_size : 256
period_time : 5804
tstamp_mode : NONE
period_step : 1
avail_min : 256
period_event : 0
start_threshold : 1024
stop_threshold : 1024
silence_
silence_size : 0
boundary : 4611686018427387904
appl_ptr : 0
hw_ptr : 0
underrun!!! (at least 2.306 ms long)
Status:
state : XRUN
trigger_time: 7298.28726754
tstamp : 7298.31029657
delay : 0
avail : 1177
avail_max : 1177
2048 does not:
# aplay -D hw:0,0 -v --buffer-size=2048 /tmp/fr025.wav threshold: 0
Playing WAVE '/tmp/fr025.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Hardware PCM card 0 'HDA Intel PCH' device 0 subdevice 0
Its setup is:
stream : PLAYBACK
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 44100
exact rate : 44100 (44100/1)
msbits : 16
buffer_size : 2048
period_size : 512
period_time : 11609
tstamp_mode : NONE
period_step : 1
avail_min : 512
period_event : 0
start_threshold : 2048
stop_threshold : 2048
silence_
silence_size : 0
boundary : 4611686018427387904
appl_ptr : 0
hw_ptr : 0