Prep for C++ port

This commit is contained in:
Allen Hill
2026-06-23 18:29:49 -07:00
parent 12ddd3d3c0
commit 77ff4652fd
14 changed files with 84 additions and 43 deletions
+8 -3
View File
@@ -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