RetroArch
multivoice.h
Go to the documentation of this file.
1 #pragma once
2 #include <wiiu/types.h>
3 #include "voice.h"
4 
5 #ifdef __cplusplus
6 extern "C" {
7 #endif
8 
9 typedef struct
10 {
11  bool running;
13  AXVoice *v[];
14 } AXMVoice;
15 
16 void AXAcquireMultiVoice(u32 prio, void *cb, u32 cbarg, void *setup, AXMVoice **mvoice);
17 void AXSetMultiVoiceDeviceMix(AXMVoice *mvoice, AXDeviceType type, u32 id, u32 bus, u16 vol, s16 delta);
21 void AXSetMultiVoiceVe(AXMVoice *mvoice, AXVoiceVeData *veData);
23 void AXSetMultiVoiceSrcRatio(AXMVoice *mvoice, float ratio);
24 bool AXIsMultiVoiceRunning(AXMVoice *mvoice);
25 void AXFreeMultiVoice(AXMVoice *mvoice);
26 
27 #ifdef __cplusplus
28 }
29 #endif
void AXSetMultiVoiceSrcRatio(AXMVoice *mvoice, float ratio)
void AXSetMultiVoiceDeviceMix(AXMVoice *mvoice, AXDeviceType type, u32 id, u32 bus, u16 vol, s16 delta)
GLuint GLsizei const GLuint const GLintptr * offsets
Definition: glsym_gl.h:634
Definition: voice.h:68
Definition: voice.h:117
Definition: voice.h:86
uint32_t channels
Definition: multivoice.h:12
Definition: multivoice.h:9
GLenum type
Definition: glext.h:6233
void AXSetMultiVoiceOffsets(AXMVoice *mvoice, AXVoiceOffsets *offsets)
uint16_t u16
16bit unsigned integer
Definition: gctypes.h:18
uint32_t AXVoiceState
Definition: voice.h:59
void AXFreeMultiVoice(AXMVoice *mvoice)
bool running
Definition: multivoice.h:11
uint32_t AXVoiceSrcType
Definition: voice.h:52
static uint64_t state[MAX_PADS]
Definition: xenon360_input.c:33
void AXSetMultiVoiceState(AXMVoice *mvoice, AXVoiceState state)
uint32_t AXDeviceType
Definition: device.h:25
void AXAcquireMultiVoice(u32 prio, void *cb, u32 cbarg, void *setup, AXMVoice **mvoice)
int16_t s16
16bit signed integer
Definition: gctypes.h:23
void AXSetMultiVoiceCurrentOffset(AXMVoice *mvoice, uint32_t offset)
const GLdouble * v
Definition: glext.h:6391
void AXSetMultiVoiceVe(AXMVoice *mvoice, AXVoiceVeData *veData)
GLintptr offset
Definition: glext.h:6560
uint32_t u32
32bit unsigned integer
Definition: gctypes.h:19
bool AXIsMultiVoiceRunning(AXMVoice *mvoice)
unsigned int uint32_t
Definition: stdint.h:126
void AXSetMultiVoiceSrcType(AXMVoice *mvoice, AXVoiceSrcType type)
Definition: setup.py:1