(In reply to rkfg from comment #35) > When I start PA without tsched=0, it's ALSA setup is weird: >
> Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c: rate > : 44100 > Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c: exact > rate : 44100 (44100/1) > Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c: msbits > : 16 > Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c: > buffer_size : 88192 > Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c: > period_size : 44096 > Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c: > period_time : 999909 > Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c: > > > Why does period size lack 4 bytes to be exactly 1 second long?
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/hda_intel.c?id=5f1545bc45a33361d6bb2fb44af7c35bcd733b9d
snd_pcm_hw_constraint_step(runtime, 0, SNDRV_PCM_HW_PARAM_BUFFER_BYTES, + 128); + snd_pcm_hw_constraint_step(runtime, 0, SNDRV_PCM_HW_PARAM_PERIOD_BYTES, + 128);
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/hda_intel.c?id=103884a351a221553095c509a1dbbbf7d4fd9b05
(In reply to rkfg from comment #35)
> When I start PA without tsched=0, it's ALSA setup is weird:
>
> Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c: rate
> : 44100
> Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c: exact
> rate : 44100 (44100/1)
> Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c: msbits
> : 16
> Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:
> buffer_size : 88192
> Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:
> period_size : 44096
> Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:
> period_time : 999909
> Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:
>
>
> Why does period size lack 4 bytes to be exactly 1 second long?
https:/ /git.kernel. org/cgit/ linux/kernel/ git/tiwai/ sound.git/ commit/ sound/pci/ hda/hda_ intel.c? id=5f1545bc45a3 3361d6bb2fb44af 7c35bcd733b9d
snd_pcm_ hw_constraint_ step(runtime, 0, SNDRV_PCM_ HW_PARAM_ BUFFER_ BYTES, hw_constraint_ step(runtime, 0, SNDRV_PCM_ HW_PARAM_ PERIOD_ BYTES,
+ 128);
+ snd_pcm_
+ 128);
https:/ /git.kernel. org/cgit/ linux/kernel/ git/tiwai/ sound.git/ commit/ sound/pci/ hda/hda_ intel.c? id=103884a351a2 21553095c509a1d bbbf7d4fd9b05