libnx  v4.2.0
audio.h
Go to the documentation of this file.
1 /**
2  * @file audio.h
3  * @brief Global audio service.
4  * @author hexkyz
5  * @copyright libnx Authors
6  */
7 #pragma once
8 
9 #include "../types.h"
10 
11 /// PcmFormat
12 typedef enum {
13  PcmFormat_Invalid = 0,
14  PcmFormat_Int8 = 1,
15  PcmFormat_Int16 = 2,
16  PcmFormat_Int24 = 3,
17  PcmFormat_Int32 = 4,
18  PcmFormat_Float = 5,
19  PcmFormat_Adpcm = 6,
20 } PcmFormat;
21 
22 /// AudioDeviceName
23 typedef struct {
24  char name[0x100];
AudioDeviceName
AudioDeviceName.
Definition: audio.h:23
PcmFormat
PcmFormat
PcmFormat.
Definition: audio.h:12