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
fix: simplify ALSA buffer size and period configuration logic
This mostly reverts #990 for device compatibility, by letting ALSA calculate
the period size from the device default period count. Forcing the period count
to 2 caused underruns on some systems.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,8 @@
2
2
3
3
- Added `Sample::bits_per_sample` method.
4
4
- ALSA(process_output): Pass `silent=true` to `PCM.try_recover`, so it doesn't write to stderr.
5
-
- ALSA: Fix buffer and period size by selecting the closest supported values.
6
-
- ALSA: Change ALSA periods from 4 to 2.
5
+
- ALSA: Fix BufferSize::Fixed by selecting the nearest supported frame count.
6
+
- ALSA: Change BufferSize::Default to use the device defaults instead of 4 periods of 25 ms.
7
7
- ALSA: Change card enumeration to work like `aplay -L` does.
8
8
- ASIO: Fix linker flags for MinGW cross-compilation.
9
9
- CoreAudio: Change `Device::supported_configs` to return a single element containing the available sample rate range when all elements have the same `mMinimum` and `mMaximum` values.
0 commit comments