Finalize C <=> C++ interface

This commit is contained in:
Allen Hill
2026-07-06 19:39:49 -07:00
parent 7ceed80128
commit 9fd8c5636e
20 changed files with 396 additions and 346 deletions
+19 -2
View File
@@ -99,11 +99,28 @@ enum AVCLAN_ENUM_CLASS Action : uint8_t {
Track_Name_Resp = 0xfd,
// Reports
Playback_Status = 0xf1, // Typically unprompted, sent to Device::STATUS
Loading_Status = 0xf3, // Typically unprompted, sent to Device::STATUS
Playback_Status = 0xf1, // Typically unprompted, sent to Device::STATUS
Loading_Status = 0xf3, // Typically unprompted, sent to Device::STATUS
Report_TOC = 0xf9,
};
// Media functions a source device can perform (ultimately bounded by the Action
// set above).
enum AVCLAN_ENUM_CLASS MediaAction : uint8_t {
Play = 0x01,
Pause = 0x02,
Play_Pause = Play | Pause,
Skip_Forward,
Skip_Backward,
Track_Next,
Track_Prev,
Repeat,
Repeat_Single,
Shuffle,
Volume_Up,
Volume_Down,
};
#ifdef __cplusplus
namespace detail {
struct Error {