本文整理汇总了C#中SPEAKER类的典型用法代码示例。如果您正苦于以下问题:C# SPEAKER类的具体用法?C# SPEAKER怎么用?C# SPEAKER使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
SPEAKER类属于命名空间,在下文中一共展示了SPEAKER类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: FMOD_DSP_SetSpeakerActive
private static extern RESULT FMOD_DSP_SetSpeakerActive(IntPtr dsp, SPEAKER speaker, int active);
示例2: getSpeakerActive
public RESULT getSpeakerActive(SPEAKER speaker, ref bool active)
{
RESULT result;
int a = 0;
result = FMOD_DSP_GetSpeakerActive(dspraw, speaker, ref a);
active = (a != 0);
return result;
}
示例3: setSpeakerActive
public RESULT setSpeakerActive(SPEAKER speaker, bool active)
{
return FMOD_DSP_SetSpeakerActive(dspraw, speaker, (active ? 1 : 0));
}
示例4: setOutputLevels
public RESULT setOutputLevels(int index, SPEAKER speaker, float[] levels, int numlevels)
{
return FMOD_DSP_SetOutputLevels(dspraw, index, speaker, levels, numlevels);
}
示例5: FMOD_Channel_SetSpeakerLevels
private static extern RESULT FMOD_Channel_SetSpeakerLevels(IntPtr channel, SPEAKER speaker, float[] levels, int numlevels);
示例6: FMOD_DSPConnection_SetLevels
private static extern RESULT FMOD_DSPConnection_SetLevels(IntPtr dspconnection, SPEAKER speaker, float[] levels, int numlevels);
示例7: set3DSpeakerPosition
public RESULT set3DSpeakerPosition(SPEAKER speaker, float x, float y, bool active)
{
return FMOD_System_Set3DSpeakerPosition(systemraw, speaker, x, y, (active ? 1 : 0));
}
示例8: setSpeakerPosition
public RESULT setSpeakerPosition(SPEAKER speaker, float x, float y, bool active)
{
return FMOD_System_SetSpeakerPosition(rawPtr, speaker, x, y, active);
}
示例9: getSpeakerPosition
public RESULT getSpeakerPosition(SPEAKER speaker, out float x, out float y, out bool active)
{
return FMOD_System_GetSpeakerPosition(rawPtr, speaker, out x, out y, out active);
}
示例10: FMOD_System_GetSpeakerPosition
private static extern RESULT FMOD_System_GetSpeakerPosition(IntPtr system, SPEAKER speaker, ref float x, ref float y);
示例11:
private static extern RESULT FMOD5_System_SetSpeakerPosition (IntPtr system, SPEAKER speaker, float x, float y, bool active);
示例12: setSpeakerPosition
public RESULT setSpeakerPosition(SPEAKER speaker, float x, float y)
{
return FMOD_System_SetSpeakerPosition(systemraw, speaker, x, y);
}
示例13: getSpeakerPosition
public RESULT getSpeakerPosition(SPEAKER speaker, ref float x, ref float y)
{
return FMOD_System_GetSpeakerPosition(systemraw, speaker, ref x, ref y);
}
示例14: FMOD_DSP_SetOutputLevels
private static extern RESULT FMOD_DSP_SetOutputLevels(IntPtr dsp, int index, SPEAKER speaker, float[] levels, int numlevels);
示例15: setLevels
public RESULT setLevels(SPEAKER speaker, float[] levels, int numlevels)
{
return FMOD_DSPConnection_SetLevels(dspconnectionraw, speaker, levels, numlevels);
}