1
0
mirror of https://github.com/Tha14/toxic.git synced 2026-01-27 05:43:14 +01:00

group audio stuff

This commit is contained in:
Jfreegman
2014-12-09 18:29:07 -05:00
parent 424189cad9
commit 7865cea284
9 changed files with 58 additions and 83 deletions

View File

@@ -50,13 +50,11 @@
#define GROUP_EVENT_WAIT 3
#ifdef AUDIO
#define MAX_AUDIO_SOURCES 128 /* arbitrary limit */
struct GAudio {
ALCdevice *dvhandle; /* Handle of device selected/opened */
ALCcontext *dvctx;
ALuint sources[MAX_AUDIO_SOURCES]; /* one audio source per peer */
uint8_t muted[MAX_AUDIO_SOURCES];
ALuint source;
ALuint buffers[OPENAL_BUFS];
};
#endif /* AUDIO */