Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Audio Module to explicit enable #97

Open
fel115 opened this issue Oct 12, 2023 · 0 comments
Open

Change Audio Module to explicit enable #97

fel115 opened this issue Oct 12, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@fel115
Copy link
Collaborator

fel115 commented Oct 12, 2023

#75 (comment):
Somehow like this:

if audio/bell != /dev/null || audio/alarm != /dev/null {
	let audio_bell = config.get::<String>("audio/bell");
	let audio_alarm = config.get::<String>("audio/alarm");
	tasks.push(spawn(Audio::get_background_task(
		Audio::new(audio_bell, audio_alarm),
		audio_receiver,
		nextcloud_sender.clone(),
	)));
}

Or add a audio_enable to the elektra config.

@fel115 fel115 added the enhancement New feature or request label Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant