Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

Terminate if pulseaudio recording fails #62

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chatziko
Copy link
Contributor

@chatziko chatziko commented Nov 4, 2023

#53 fixed the issue that pulseaudio recording got stuck when is_running is false.

But a similar issue remains: if pulseaudio recording itself breaks (eg pulseaudio is restarted), record_pulseaudio waits for chunks that never arrive. This PR fixes this, a chunk with ts == 0 signals record_pulseaudio to exit, and also mic_task_entry fails if recording stops while still running.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant