From 7b82bde9b10dc2605826a92e15121d8937457839 Mon Sep 17 00:00:00 2001 From: yellows8 Date: Fri, 16 Apr 2021 16:46:45 -0400 Subject: [PATCH] btdrv: Added support for the new 12.0.0 cmds. --- nx/include/switch/services/btdrv_types.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/nx/include/switch/services/btdrv_types.h b/nx/include/switch/services/btdrv_types.h index d6472abc..8dbb5d86 100644 --- a/nx/include/switch/services/btdrv_types.h +++ b/nx/include/switch/services/btdrv_types.h @@ -138,6 +138,23 @@ typedef enum { BtdrvBleEventType_Unknown13 = 13, ///< Unknown. } BtdrvBleEventType; +/// AudioEventType +typedef enum { + BtdrvAudioEventType_None = 0, ///< None + BtdrvAudioEventType_Connection = 1, ///< Connection +} BtdrvAudioEventType; + +/// AudioOutState +typedef enum { + BtdrvAudioOutState_Stopped = 0, ///< Stopped + BtdrvAudioOutState_Started = 1, ///< Started +} BtdrvAudioOutState; + +/// AudioCodec +typedef enum { + BtdrvAudioCodec_Pcm = 0, ///< Raw PCM +} BtdrvAudioCodec; + /// Address typedef struct { u8 address[0x6]; ///< Address