• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C++ soundInterface_t类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C++中soundInterface_t的典型用法代码示例。如果您正苦于以下问题:C++ soundInterface_t类的具体用法?C++ soundInterface_t怎么用?C++ soundInterface_t使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



在下文中一共展示了soundInterface_t类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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


示例16: S_DisableSounds

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


示例17: S_StartLocalSound

/*
=================
S_StartLocalSound
=================
*/
void S_StartLocalSound( sfxHandle_t sfx, int channelNum )
{
	if( si.StartLocalSound ) {
		si.StartLocalSound( sfx, channelNum );
	}
}
开发者ID:LoudHoward,项目名称:Quake3,代码行数:11,代码来源:snd_main.c


示例18: S_ClearSoundBuffer

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


示例19: S_StartBackgroundTrack

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


示例20: S_SoundList

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



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C++ soundLib类代码示例发布时间:2022-05-31
下一篇:
C++ socket_type类代码示例发布时间:2022-05-31
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap