示例#1
0
 /// <summary>
 /// Sets the output master volume[If successful, then TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode to get the error code.]
 /// </summary>
 /// <param name="volume">volume The volume level... 0 (silent) to 1 (max).  </param>
 /// <returns>If successful, then TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode to get the error code. </returns>
 public static bool BASS_SetVolume(float volume)
 {
     if (Environment.Is64BitProcess)
     {
         return(BassX64.BASS_SetVolume(volume));
     }
     else
     {
         return(BassX86.BASS_SetVolume(volume));
     }
 }