GHartmann
02-14-2018, 16:18
Intended for use with my Rociar (https://forums.alliedmods.net/showthread.php?t=305297) plugin.
SMFFMPEG, gives access to some ffmpeg functionality within SourceMod.
Only tested on Linux with TF2.
native int SMFFMPEG_GetSoundDuration(char[] file);
Get a sound's duration (does not read VPKs)
native void SMFFMPEG_FlushSoundDurationCache();
Flush the sound duration cache.
Intended for development/debugging only, you shouldn't need to call this.
SMFFMPEG, gives access to some ffmpeg functionality within SourceMod.
Only tested on Linux with TF2.
native int SMFFMPEG_GetSoundDuration(char[] file);
Get a sound's duration (does not read VPKs)
native void SMFFMPEG_FlushSoundDurationCache();
Flush the sound duration cache.
Intended for development/debugging only, you shouldn't need to call this.