mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-22 21:02:39 +02:00
Added HwopusHeader struct.
This commit is contained in:
parent
a6412e1e3a
commit
c5d3f0dfb5
@ -14,6 +14,13 @@ typedef struct {
|
|||||||
TransferMemory tmem;
|
TransferMemory tmem;
|
||||||
} HwopusDecoder;
|
} HwopusDecoder;
|
||||||
|
|
||||||
|
///< This structure is the start of opusin for \ref hwopusDecodeInterleaved, with the actual opus packet following this.
|
||||||
|
///< These fields are big-endian.
|
||||||
|
typedef struct {
|
||||||
|
u32 size; ///< Size of the packet following this header.
|
||||||
|
u32 unk; ///< Unknown, can be left at zero.
|
||||||
|
} HwopusHeader;
|
||||||
|
|
||||||
Result hwopusDecoderInitialize(HwopusDecoder* decoder, s32 SampleRate, s32 ChannelCount);
|
Result hwopusDecoderInitialize(HwopusDecoder* decoder, s32 SampleRate, s32 ChannelCount);
|
||||||
void hwopusDecoderExit(HwopusDecoder* decoder);
|
void hwopusDecoderExit(HwopusDecoder* decoder);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user