本文整理汇总了C#中SPEAKERMODE类的典型用法代码示例。如果您正苦于以下问题:C# SPEAKERMODE类的具体用法?C# SPEAKERMODE怎么用?C# SPEAKERMODE使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
SPEAKERMODE类属于命名空间,在下文中一共展示了SPEAKERMODE类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: FMOD5_System_GetRecordDriverInfo
private static extern RESULT FMOD5_System_GetRecordDriverInfo (IntPtr system, int id, StringBuilder name, [MarshalAs(UnmanagedType.LPWStr)]StringBuilder nameW, int namelen, out GUID guid, out int systemrate, out SPEAKERMODE speakermode, out int speakermodechannels);
示例2: getSpeakerMode
public RESULT getSpeakerMode(ref SPEAKERMODE speakermode)
{
return FMOD_System_GetSpeakerMode(systemraw, ref speakermode);
}
示例3: FMOD_System_GetDriverCaps
private static extern RESULT FMOD_System_GetDriverCaps(IntPtr system, int id, ref CAPS caps, ref int minfrequency, ref int maxfrequency, ref SPEAKERMODE controlpanelspeakermode);
示例4: getOutputChannelFormat
public RESULT getOutputChannelFormat(CHANNELMASK inmask, int inchannels, SPEAKERMODE inspeakermode, out CHANNELMASK outmask, out int outchannels, out SPEAKERMODE outspeakermode)
{
return FMOD_DSP_GetOutputChannelFormat(rawPtr, inmask, inchannels, inspeakermode, out outmask, out outchannels, out outspeakermode);
}
示例5: FMOD_DSP_GetOutputChannelFormat
private static extern RESULT FMOD_DSP_GetOutputChannelFormat (IntPtr dsp, CHANNELMASK inmask, int inchannels, SPEAKERMODE inspeakermode, out CHANNELMASK outmask, out int outchannels, out SPEAKERMODE outspeakermode);
示例6:
private static extern RESULT FMOD_System_GetSoftwareFormat (IntPtr system, out int samplerate, out SPEAKERMODE speakermode, out int numrawspeakers);
示例7: setChannelFormat
public RESULT setChannelFormat(CHANNELMASK channelmask, int numchannels, SPEAKERMODE source_speakermode)
{
return FMOD_DSP_SetChannelFormat(rawPtr, channelmask, numchannels, source_speakermode);
}
示例8: getDriverCaps
public RESULT getDriverCaps(int id, ref CAPS caps, ref int controlpaneloutputrate, ref SPEAKERMODE controlpanelspeakermode)
{
return FMOD_System_GetDriverCaps(systemraw, id, ref caps, ref controlpaneloutputrate, ref controlpanelspeakermode);
}
示例9: FMOD_System_GetDriverCaps
private static extern RESULT FMOD_System_GetDriverCaps(IntPtr system, int id, ref CAPS caps, ref int controlpaneloutputrate, ref SPEAKERMODE controlpanelspeakermode);
示例10:
private static extern RESULT FMOD_System_GetDriverInfo (IntPtr system, int id, StringBuilder name, [MarshalAs(UnmanagedType.LPWStr)]StringBuilder namew, int namelen, ref GUID guid, ref int systemrate, ref SPEAKERMODE speakermode, ref int speakermodechannels);
示例11: getRecordDriverInfo
public RESULT getRecordDriverInfo(int id, StringBuilder name, int namelen, out Guid guid, out int systemrate, out SPEAKERMODE speakermode, out int speakermodechannels, out DRIVER_STATE state)
{
IntPtr intPtr = Marshal.AllocHGlobal(name.Capacity);
RESULT result = System.FMOD5_System_GetRecordDriverInfo(this.rawPtr, id, intPtr, namelen, out guid, out systemrate, out speakermode, out speakermodechannels, out state);
StringMarshalHelper.NativeToBuilder(name, intPtr);
Marshal.FreeHGlobal(intPtr);
return result;
}
示例12: FMOD_System_GetSoftwareFormat
public RESULT getSoftwareFormat (ref int samplerate, ref SPEAKERMODE speakermode, ref int numrawspeakers)
{
return FMOD_System_GetSoftwareFormat(systemraw, ref samplerate, ref speakermode, ref numrawspeakers);
}
示例13: FMOD_System_GetDriverInfo
public RESULT getDriverInfo (int id, StringBuilder name, [MarshalAs(UnmanagedType.LPWStr)]StringBuilder namew, int namelen, ref GUID guid, ref int systemrate, ref SPEAKERMODE speakermode, ref int speakermodechannels)
{
return FMOD_System_GetDriverInfo(systemraw, id, name, namew, namelen, ref guid, ref systemrate, ref speakermode, ref speakermodechannels);
}
示例14: getRecordDriverInfo
public RESULT getRecordDriverInfo(int id, StringBuilder name, int namelen, out GUID guid, out int systemrate, out SPEAKERMODE speakermode, out int speakermodechannels)
{
return FMOD_System_GetRecordDriverInfo(rawPtr, id, name, null, namelen, out guid, out systemrate, out speakermode, out speakermodechannels);
}
示例15: FMOD_System_GetSoftwareFormat
public RESULT getSoftwareFormat (out int samplerate, out SPEAKERMODE speakermode, out int numrawspeakers)
{
return FMOD_System_GetSoftwareFormat(rawPtr, out samplerate, out speakermode, out numrawspeakers);
}