/* * CL_Mumble_Unlink */ void CL_Mumble_Unlink( void ) { if( !cl_mumble->integer ) return; if( mumble_islinked() ) { Com_Printf( "Mumble: Unlinking from Mumble application\n" ); mumble_unlink(); } }
/* * CL_Mumble_Link */ void CL_Mumble_Link( void ) { if( !cl_mumble->integer ) return; if( !mumble_islinked() ) { int ret = mumble_link( APPLICATION ); Com_Printf( "Mumble: Linking to Mumble application %s\n", ret == 0 ? "ok" : "failed" ); } }
void S_MumbleUnlink (void) { if (!s_env.initialized) return; if (!snd_mumble->integer) return; if (mumble_islinked()) { Com_Printf("S_MumbleUnlink: Unlinking from Mumble application\n"); mumble_unlink(); } }
void S_MumbleLink (void) { if (!s_env.initialized) return; if (!snd_mumble->integer) return; if (!mumble_islinked()) { int ret = mumble_link(GAME_TITLE_LONG); Com_Printf("S_MumbleLink: Linking to Mumble application %s\n", ret == 0 ? "ok" : "failed"); } }