You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ALSA AAF PCM: speaker-test reports "Write error: -32, Broken pipe" with -p option but works with -P option #333
The device is opened successfully and the hardware parameters are set:
Playback device is aaf0
Stream parameters are 48000Hz, S16_BE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 1 to 206158430
Period size range from 0 to 206158431
Requested period time 25000 us
Periods = 4
was set period_size = 1200
was set buffer_size = 4800
0 - Front Left
Write error: -32, Broken pipe
Write error: -32, Broken pipe
Write error: -32, Broken pipe
...
The test runs normally without any Broken pipe errors:
layback device is aaf0
Stream parameters are 48000Hz, S16_BE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 1 to 206158430
Period size range from 0 to 206158431
Periods = 480
was set period_size = 12000
was set buffer_size = 5760000
0 - Front Left
1 - Front Right
Time per period = 0.283478
0 - Front Left
1 - Front Right
Time per period = 0.242246
Does anyone know why -p 25000 causes Broken pipe while -P 480 works?
Activity