Added audio capture support to SDL backend.
This lets you speak through VoIP when not using OpenAL. Previously you could listen but not speak.
This commit is contained in:
parent
2f62394174
commit
69f92daf08
4 changed files with 165 additions and 7 deletions
|
@ -176,6 +176,15 @@ void SNDDMA_BeginPainting (void);
|
|||
|
||||
void SNDDMA_Submit(void);
|
||||
|
||||
#ifdef USE_VOIP
|
||||
void SNDDMA_StartCapture(void);
|
||||
int SNDDMA_AvailableCaptureSamples(void);
|
||||
void SNDDMA_Capture(int samples, byte *data);
|
||||
void SNDDMA_StopCapture(void);
|
||||
void SNDDMA_MasterGain(float val);
|
||||
#endif
|
||||
|
||||
|
||||
//====================================================================
|
||||
|
||||
#define MAX_CHANNELS 96
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue