mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-26 13:34:22 +01:00
Sound doesn't work, ignore it
This commit is contained in:
parent
ae24458864
commit
e1926ecd0a
@ -439,6 +439,8 @@ void Network::EncodeSound()
|
|||||||
static Uint8 tmp_buf[NETWORK_SOUND_BUF_SIZE];
|
static Uint8 tmp_buf[NETWORK_SOUND_BUF_SIZE];
|
||||||
int offset = 0;
|
int offset = 0;
|
||||||
|
|
||||||
|
/* This is not enabled yet... */
|
||||||
|
return;
|
||||||
/* Nothing to encode? */
|
/* Nothing to encode? */
|
||||||
if (!Network::is_master ||
|
if (!Network::is_master ||
|
||||||
this->GetSoundBufferSize() < NETWORK_SOUND_BUF_SIZE / 2)
|
this->GetSoundBufferSize() < NETWORK_SOUND_BUF_SIZE / 2)
|
||||||
|
Loading…
Reference in New Issue
Block a user