mirror of
https://github.com/halleysfifthinc/AVCLAN-Mockingboard.git
synced 2026-08-07 01:13:18 +00:00
Prep for C++ port
This commit is contained in:
@@ -3,8 +3,7 @@
|
||||
|
||||
// Media-control: route/handle head-unit button presses to the audio source.
|
||||
|
||||
#ifndef MEDIACONTROL_H
|
||||
#define MEDIACONTROL_H
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -15,6 +14,10 @@ typedef enum : uint8_t {
|
||||
MEDIA_SKIP_BACKWARD,
|
||||
} AVCLAN_media_fn_t;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
// One-time hardware bring-up for the media driver.
|
||||
void mediacontrol_init();
|
||||
|
||||
@@ -26,4 +29,6 @@ bool AVCLAN_micToggle();
|
||||
bool AVCLAN_isMediaFunctioning();
|
||||
#endif
|
||||
|
||||
#endif // MEDIACONTROL_H
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user