예제 #1
0
 /// <summary>
 /// 设置选项值
 /// </summary>
 /// <param name="option"></param>
 /// <param name="value"></param>
 /// <returns></returns>
 public static bool BASS_SetConfig(BassConfigOption option, int value)
 {
     if (Environment.Is64BitProcess)
     {
         return(BassX64.BASS_SetConfig(option, value));
     }
     else
     {
         return(BassX86.BASS_SetConfig(option, value));
     }
 }
예제 #2
0
 /// <summary>
 /// 获取选项值
 /// </summary>
 /// <param name="option"></param>
 /// <returns></returns>
 public static int BASS_GetConfig(BassConfigOption option)
 {
     if (Environment.Is64BitProcess)
     {
         return(BassX64.BASS_GetConfig(option));
     }
     else
     {
         return(BassX86.BASS_GetConfig(option));
     }
 }
예제 #3
0
 /// <summary>
 /// 获取选项值
 /// </summary>
 /// <param name="option">选项</param>
 /// <returns>选项值</returns>
 public static int BASS_GetConfig(BassConfigOption option)
 {
     return(Bass.BASS_GetConfig(option));
 }
예제 #4
0
 /// <summary>
 /// 设置选项值
 /// </summary>
 /// <param name="option">选项</param>
 /// <param name="value">选项值</param>
 public static bool BASS_SetConfig(BassConfigOption option, int value)
 {
     return(Bass.BASS_SetConfig(option, value));
 }
예제 #5
0
 public static extern int BASS_GetConfig(BassConfigOption option);
예제 #6
0
 public static extern bool BASS_SetConfig(BassConfigOption option, int newvalue);