Implement sound module to handle audio alerts
This commit is contained in:
24
components/sound/sound.h
Normal file
24
components/sound/sound.h
Normal 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
|
||||
Reference in New Issue
Block a user