本文整理汇总了C++中soundInterface_t类的典型用法代码示例。如果您正苦于以下问题:C++ soundInterface_t类的具体用法?C++ soundInterface_t怎么用?C++ soundInterface_t使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了soundInterface_t类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: S_ClearLoopingSounds
/*
=================
S_ClearLoopingSounds
=================
*/
void S_ClearLoopingSounds( qboolean killall )
{
if( si.ClearLoopingSounds ) {
si.ClearLoopingSounds( killall );
}
}
示例2: S_StopLoopingSound
/*
=================
S_StopLoopingSound
=================
*/
void S_StopLoopingSound( int entityNum )
{
if( si.StopLoopingSound ) {
si.StopLoopingSound( entityNum );
}
}
示例3: S_StopCapture
/*
=================
S_StopCapture
=================
*/
void S_StopCapture( void )
{
if( si.StopCapture ) {
si.StopCapture( );
}
}
示例4: S_AddRealLoopingSound
/*
=======================================================================================================================================
S_AddRealLoopingSound
=======================================================================================================================================
*/
void S_AddRealLoopingSound(int entityNum, const vec3_t origin, const vec3_t velocity, sfxHandle_t sfx, int range) {
if (si.AddRealLoopingSound) {
si.AddRealLoopingSound(entityNum, origin, velocity, sfx, range);
}
}
示例5: S_SoundInfo
/*
=================
S_SoundInfo
=================
*/
void S_SoundInfo( void )
{
if( si.SoundInfo ) {
si.SoundInfo( );
}
}
示例6: S_StartCapture
/*
=================
S_StartCapture
=================
*/
void S_StartCapture( void )
{
if( si.StartCapture ) {
si.StartCapture( );
}
}
示例7: S_RawSamples
void S_RawSamples (int stream, int samples, int rate, int width, int channels,
const byte *data, float volume, int entityNum)
{
if(si.RawSamples)
si.RawSamples(stream, samples, rate, width, channels, data, volume, entityNum);
}
示例8: S_BeginRegistration
/*
=================
S_BeginRegistration
=================
*/
void S_BeginRegistration( void )
{
if( si.BeginRegistration ) {
si.BeginRegistration( );
}
}
示例9: S_AvailableCaptureSamples
int S_AvailableCaptureSamples( void ) {
if( si.AvailableCaptureSamples ) {
return si.AvailableCaptureSamples( );
}
return 0;
}
示例10: S_StopMusic_f
void S_StopMusic_f( void ) {
if(!si.StopBackgroundTrack)
return;
si.StopBackgroundTrack();
}
示例11: S_Respatialize
void S_Respatialize( int entityNum, const vector3 *origin, matrix3 axis, int inwater ) {
if( si.Respatialize ) {
si.Respatialize( entityNum, origin, axis, inwater );
}
}
示例12: S_AddRealLoopingSound
void S_AddRealLoopingSound( int entityNum, const vector3 *origin, const vector3 *velocity, sfxHandle_t sfx ) {
if( si.AddRealLoopingSound ) {
si.AddRealLoopingSound( entityNum, origin, velocity, sfx );
}
}
示例13: S_Respatialize
/*
=======================================================================================================================================
S_Respatialize
=======================================================================================================================================
*/
void S_Respatialize(int entityNum, const vec3_t origin, vec3_t axis[3], int inwater) {
if (si.Respatialize) {
si.Respatialize(entityNum, origin, axis, inwater);
}
}
示例14: S_UpdateEntityPosition
/*
=================
S_UpdateEntityPosition
=================
*/
void S_UpdateEntityPosition( int entityNum, const vec3_t origin )
{
if( si.UpdateEntityPosition ) {
si.UpdateEntityPosition( entityNum, origin );
}
}
示例15: S_StartSound
/*
=================
S_StartSound
=================
*/
void S_StartSound( vec3_t origin, int entnum, int entchannel, sfxHandle_t sfx )
{
if( si.StartSound ) {
si.StartSound( origin, entnum, entchannel, sfx );
}
}