mirror of
https://github.com/ioquake/ioq3.git
synced 2025-05-31 09:01:54 +00:00
VoIP: Save own voice when recording a demo.
We fake a server packet and write it directly to the demo file at the point where we'd transmit to the server. This is a little nasty, but it seems to be the most reasonable solution.
This commit is contained in:
parent
28c48a8cf9
commit
a7b854d65f
4 changed files with 34 additions and 2 deletions
|
@ -615,3 +615,9 @@ void CL_WriteAVIVideoFrame( const byte *imageBuffer, int size );
|
|||
void CL_WriteAVIAudioFrame( const byte *pcmBuffer, int size );
|
||||
qboolean CL_CloseAVI( void );
|
||||
qboolean CL_VideoRecording( void );
|
||||
|
||||
//
|
||||
// cl_main.c
|
||||
//
|
||||
void CL_WriteDemoMessage ( msg_t *msg, int headerBytes );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue