Skip to content

Audio: device selection and stream, opt-in at init - #301

Open
catilac wants to merge 1 commit into
audio-forksfrom
audio-devices
Open

catilac wants to merge 1 commit into
audio-forksfrom
audio-devices

Conversation

@catilac

@catilac catilac commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Adds audio device handling and the audio stream.

Note new ConfigKey::AudioEnabled for enabling audio in a sketch


Stack created with GitHub Stacks CLI • Give Feedback 💬

@catilac
catilac added this pull request to stack #306 December 1, 2026 05:13
@catilac catilac changed the title processing_audio: audio devices and stream, opt-in at init Audio: device selection and stream, opt-in at init Dec 1, 2026
Comment on lines +37 to +38
/// Exact (case-insensitive) or substring match.
Named(String),

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is questionable

Comment on lines +338 to +340
thread_local! {
static STREAM: RefCell<Option<CpalStream>> = const { RefCell::new(None) };
}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just calling this out

@catilac
catilac marked this pull request as ready for review December 3, 2026 03:32

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant