[Taranis / sky9x] Specific volume for beeps/wav/vario/background
[Taranis] New alarm when TELEMETRY lost/back
This commit is contained in:
+6
-3
@@ -177,9 +177,9 @@ class AudioQueue {
|
||||
|
||||
void wakeup();
|
||||
|
||||
int mixAudioContext(AudioContext &context, AudioBuffer *buffer, unsigned int weight);
|
||||
int mixTone(AudioContext &context, AudioBuffer *buffer, unsigned int weight);
|
||||
int mixWav(AudioContext &context, AudioBuffer *buffer, unsigned int weight);
|
||||
int mixAudioContext(AudioContext &context, AudioBuffer *buffer, int beepVolume, int wavVolume, unsigned int fade);
|
||||
int mixBeep(AudioContext &context, AudioBuffer *buffer, int volume, unsigned int fade);
|
||||
int mixWav(AudioContext &context, AudioBuffer *buffer, int volume, unsigned int fade);
|
||||
|
||||
volatile bool state;
|
||||
uint8_t ridx;
|
||||
@@ -270,6 +270,9 @@ void audioStart();
|
||||
#define AUDIO_SWR_RED() audioEvent(AU_SWR_RED)
|
||||
#endif
|
||||
|
||||
#define AUDIO_TELEMETRY_LOST() audioEvent(AU_TELEMETRY_LOST)
|
||||
#define AUDIO_TELEMETRY_BACK() audioEvent(AU_TELEMETRY_BACK)
|
||||
|
||||
#define AUDIO_HEARTBEAT()
|
||||
|
||||
#define SYSTEM_AUDIO_CATEGORY 0
|
||||
|
||||
Reference in New Issue
Block a user