57 AA64Thread* SndThread;
#define AU_EXTERN
Definition aurora.h:50
#define AU_EXPORT
Definition aurora.h:38
int snd
Definition main.cpp:64
short int int16_t
Definition acefiex.h:159
unsigned char uint8_t
Definition acefiex.h:161
COMPILER_DEPENDENT_UINT64 uint64_t
Definition acefiex.h:165
unsigned short int uint16_t
Definition acefiex.h:162
AU_EXTERN AU_EXPORT void AuSoundGetBlock(uint64_t *buffer)
AuSoundGetBlock – the main heart of aurora sound system – called by sound card.
Definition sound.cpp:122
void AuSoundInitialise()
AuSoundInitialize – Initialized the Aurora sound system.
Definition sound.cpp:270
void AuSoundStop()
Definition sound.cpp:216
AU_EXTERN AU_EXPORT void AuSoundRemoveDSP(uint16_t id)
AuSoundRemoveDSP – remove the dsp from dsp list.
Definition sound.cpp:304
AU_EXTERN AU_EXPORT void AuSoundSetCard(AuSound *dev)
AuSoundSetCard – registers a new sound card.
Definition sound.cpp:198
AU_EXTERN AU_EXPORT int AuSoundRegisterCard(AuSound *snd)
AuSoundRegisterCard – register a new sound card to sound layer.
Definition sndcore.c:299
void AuSoundStart()
Definition sound.cpp:207
struct _SoundDev_ AuSound
int(* read)(uint8_t *buffer, size_t length)
Definition sound.h:73
bool _force_write
Definition sound.h:78
int(* write)(uint8_t *buffer, size_t length)
Definition sound.h:72
int(* control)(void *data, int code)
Definition sound.h:77
int(* set_vol)(uint8_t vol)
Definition sound.h:76
int(* start_output)()
Definition sound.h:75
int(* stop_output)()
Definition sound.h:74
char name[32]
Definition sound.h:71
struct __au_dsp__ * prev
Definition sound.h:62
uint16_t _dsp_id
Definition sound.h:52
bool available
Definition sound.h:60
struct __au_dsp__ * next
Definition sound.h:61
CircBuffer * buffer
Definition sound.h:51
uint64_t sleep_time
Definition sound.h:59
int16_t _cardID
Definition sound.h:53
Definition x86_64_sched.h:118