Implement sound module to handle audio alerts

This commit is contained in:
2023-05-16 14:02:32 +01:00
parent f50525a2a6
commit 82334be492
7 changed files with 173 additions and 2 deletions

24
components/sound/sound.h Normal file
View File

@@ -0,0 +1,24 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) Camden Dixie O'Brien
*/
#ifndef SOUND_H
#define SOUND_H
/**
* Initialize the sound subsystem.
*/
void sound_init(void);
/**
* Turn the alert sound on.
*/
void sound_alert_on(void);
/**
* Turn the alert sound off.
*/
void sound_alert_off(void);
#endif