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
Copy file name to clipboardExpand all lines: README.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,12 +12,13 @@ A minimalist RISC-V system emulator capable of running Linux the kernel and corr
12
12
- Three types of I/O support using VirtIO standard:
13
13
- virtio-blk acquires disk image from the host.
14
14
- virtio-net is mapped as TAP interface.
15
-
- virtio-snd uses [PortAudio](https://github.com/PortAudio/portaudio) for sound playback on the host with one limitations:
16
-
- As some unknown issues in guest Linux OS (confirmed in v6.7 and v6.12), you need
17
-
to adjust the buffer size to more than four times of period size, or
18
-
the program cannot write the PCM frames into guest OS ALSA stack.
15
+
- virtio-snd uses [PortAudio](https://github.com/PortAudio/portaudio) for sound playback and capture on the host with one limitations:
16
+
- As a confirmed issue that `semu` cannot send/receive PCM frames in time, causing
17
+
the ALSA stack stuck in XRUN state until `semu` being rebooted.
18
+
- For playback, you can try to adjust the buffer size to more than four times of period size.
19
19
- For instance, the following buffer/period size settings on `aplay` has been tested
20
20
with broken and stutter effects yet complete with no any errors: `aplay --buffer-size=32768 --period-size=4096 /usr/share/sounds/alsa/Front_Center.wav`.
21
+
- For capture, ALSA usually stucks in XRUN state, so you may try more times and pray for your own luck.
0 commit comments