VoiceHook - Developer preview of something.
7 Attachment(s)
This plugin hooks the broadcast of voice chat through the server, decompresses it with Valve's audio codecs, passes it onto other plugins that have registered a listener and then re-compresses the data.
WARNING: For TF2 and other games using the Steam audio system, you need to set the sv_use_steam_voice convar to 0 if you want decompression to work. The interface is quite simple: Code:
#define VOICE_INTERFACE "VOICE_INTERFACE_002" Code:
IVoice *pVoice = (IVoice *)g_SMAPI->MetaFactory(VOICE_INTERFACE, NULL, NULL);
You'll need to copy vaudio_speex.dll from Steam\steamapps\<account name>\<Source 2009 using game name>\bin\ (Linux users can get the Linux one from here) and copy it to orangebox\bin in your server install. TO-DO List:
|
Re: VoiceHook - Developer preview of something.
Needs moar source code :P
|
Re: VoiceHook - Developer preview of something.
Sorry, why would someone change the voicedata in a plugin ?
But it sounds great :) I always wanted to do this. |
Re: VoiceHook - Developer preview of something.
Quote:
I really don't know tbh, it was a requested feature :). |
Re: VoiceHook - Developer preview of something.
Sampling rate? How many bits per sample?
|
Re: VoiceHook - Developer preview of something.
use voice audio channel stream mp3?
|
Re: VoiceHook - Developer preview of something.
Quote:
Code:
WAVEFORMATEX g_VoiceSampleFormat = |
Re: VoiceHook - Developer preview of something.
And why no ability to create audio data from scratch? I wanna make my bots talk. :D
|
Re: VoiceHook - Developer preview of something.
Quote:
Quote:
|
Re: VoiceHook - Developer preview of something.
Quote:
|
All times are GMT -4. The time now is 10:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.