当前位置: 首页>>代码示例>>C++>>正文


C++ soundInterface_t类代码示例

本文整理汇总了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 );
	}
}
开发者ID:AlienHoboken,项目名称:Tremulous-xserverx-tremded,代码行数:11,代码来源:snd_main.c

示例2: S_StopLoopingSound

/*
=================
S_StopLoopingSound
=================
*/
void S_StopLoopingSound( int entityNum )
{
	if( si.StopLoopingSound ) {
		si.StopLoopingSound( entityNum );
	}
}
开发者ID:AlienHoboken,项目名称:Tremulous-xserverx-tremded,代码行数:11,代码来源:snd_main.c

示例3: S_StopCapture

/*
=================
S_StopCapture
=================
*/
void S_StopCapture( void )
{
	if( si.StopCapture ) {
		si.StopCapture( );
	}
}
开发者ID:AlienHoboken,项目名称:Tremulous-xserverx-tremded,代码行数:11,代码来源:snd_main.c

示例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);
	}
}
开发者ID:KuehnhammerTobias,项目名称:ioqw,代码行数:11,代码来源:snd_main.c

示例5: S_SoundInfo

/*
=================
S_SoundInfo
=================
*/
void S_SoundInfo( void )
{
	if( si.SoundInfo ) {
		si.SoundInfo( );
	}
}
开发者ID:AlienHoboken,项目名称:Tremulous-xserverx-tremded,代码行数:11,代码来源:snd_main.c

示例6: S_StartCapture

/*
=================
S_StartCapture
=================
*/
void S_StartCapture( void )
{
	if( si.StartCapture ) {
		si.StartCapture( );
	}
}
开发者ID:AlienHoboken,项目名称:Tremulous-xserverx-tremded,代码行数:11,代码来源:snd_main.c

示例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);
}
开发者ID:Razish,项目名称:QtZ,代码行数:6,代码来源:snd_main.c

示例8: S_BeginRegistration

/*
=================
S_BeginRegistration
=================
*/
void S_BeginRegistration( void )
{
	if( si.BeginRegistration ) {
		si.BeginRegistration( );
	}
}
开发者ID:AlienHoboken,项目名称:Tremulous-xserverx-tremded,代码行数:11,代码来源:snd_main.c

示例9: S_AvailableCaptureSamples

int S_AvailableCaptureSamples( void ) {
	if( si.AvailableCaptureSamples ) {
		return si.AvailableCaptureSamples( );
	}
	return 0;
}
开发者ID:Razish,项目名称:QtZ,代码行数:6,代码来源:snd_main.c

示例10: S_StopMusic_f

void S_StopMusic_f( void ) {
	if(!si.StopBackgroundTrack)
		return;

	si.StopBackgroundTrack();
}
开发者ID:Razish,项目名称:QtZ,代码行数:6,代码来源:snd_main.c

示例11: S_Respatialize

void S_Respatialize( int entityNum, const vector3 *origin, matrix3 axis, int inwater ) {
	if( si.Respatialize ) {
		si.Respatialize( entityNum, origin, axis, inwater );
	}
}
开发者ID:Razish,项目名称:QtZ,代码行数:5,代码来源:snd_main.c

示例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 );
	}
}
开发者ID:Razish,项目名称:QtZ,代码行数:5,代码来源:snd_main.c

示例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);
	}
}
开发者ID:KuehnhammerTobias,项目名称:ioqw,代码行数:11,代码来源:snd_main.c

示例14: S_UpdateEntityPosition

/*
=================
S_UpdateEntityPosition
=================
*/
void S_UpdateEntityPosition( int entityNum, const vec3_t origin )
{
	if( si.UpdateEntityPosition ) {
		si.UpdateEntityPosition( entityNum, origin );
	}
}
开发者ID:AlienHoboken,项目名称:Tremulous-xserverx-tremded,代码行数:11,代码来源:snd_main.c

示例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 );
	}
}
开发者ID:LoudHoward,项目名称:Quake3,代码行数:11,代码来源:snd_main.c


注:本文中的soundInterface_t类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。