diff options
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/audio.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/firmware/export/audio.h b/firmware/export/audio.h index 08a88d6325..5710f9f653 100644 --- a/firmware/export/audio.h +++ b/firmware/export/audio.h | |||
@@ -232,6 +232,15 @@ int audio_get_spdif_sample_rate(void); | |||
232 | void audio_spdif_set_monitor(int monitor_spdif); | 232 | void audio_spdif_set_monitor(int monitor_spdif); |
233 | #endif /* HAVE_SPDIF_IN */ | 233 | #endif /* HAVE_SPDIF_IN */ |
234 | 234 | ||
235 | #ifdef HAVE_SPEAKER | ||
236 | /* enable/disable the speaker: 0=off, 1=on, 2=on if jack unpluged, off otherwise | ||
237 | * NOTE this is a one time thing, this function doesn't implement the logic to | ||
238 | * check for jack events, it merely changes the speaker state to the expected | ||
239 | * state based on the requested mode. | ||
240 | */ | ||
241 | void audio_enable_speaker(int mode); | ||
242 | #endif | ||
243 | |||
235 | /***********************************************************************/ | 244 | /***********************************************************************/ |
236 | /* audio event handling */ | 245 | /* audio event handling */ |
237 | enum track_event_flags | 246 | enum track_event_flags |