mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-10 14:12:04 +08:00
engine: platform: change capture API to allow locking/unlocking buffer to prevent race condition, use single function for pause
This commit is contained in:
@@ -161,9 +161,10 @@ void SNDDMA_Activate( qboolean active ); // pause audio
|
||||
// void SNDDMA_PrintDeviceName( void ); // unused
|
||||
// void SNDDMA_LockSound( void ); // unused
|
||||
// void SNDDMA_UnlockSound( void ); // unused
|
||||
|
||||
qboolean VoiceCapture_Init( void );
|
||||
void VoiceCapture_Shutdown( void );
|
||||
qboolean VoiceCapture_RecordStart( void );
|
||||
void VoiceCapture_RecordStop( void );
|
||||
qboolean VoiceCapture_Activate( qboolean activate );
|
||||
qboolean VoiceCapture_Lock( qboolean lock );
|
||||
|
||||
#endif // PLATFORM_H
|
||||
|
||||
Reference in New Issue
Block a user