mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
26 lines
437 B
C
26 lines
437 B
C
/**
|
|
* @file audio.h
|
|
* @brief Global audio service.
|
|
* @author hexkyz
|
|
* @copyright libnx Authors
|
|
*/
|
|
#pragma once
|
|
|
|
#include "../types.h"
|
|
|
|
/// PcmFormat
|
|
typedef enum {
|
|
PcmFormat_Invalid = 0,
|
|
PcmFormat_Int8 = 1,
|
|
PcmFormat_Int16 = 2,
|
|
PcmFormat_Int24 = 3,
|
|
PcmFormat_Int32 = 4,
|
|
PcmFormat_Float = 5,
|
|
PcmFormat_Adpcm = 6,
|
|
} PcmFormat;
|
|
|
|
/// AudioDeviceName
|
|
typedef struct {
|
|
char name[0x100];
|
|
} AudioDeviceName;
|