コード例 #1
0
 // Token: 0x060000C1 RID: 193 RVA: 0x0001AB7C File Offset: 0x00018D7C
 public void method_48(int int_2 = -1)
 {
     Debug.Log(Bass.BASS_GetVersion());
     Bass.BASS_SetConfig((BASSConfig)(-75), true);
     Bass.BASS_SetConfig((BASSConfig)(-112), 1);
     Debug.Log(BassAudioManager.smethod_0(GlobalVariables.instance.gclass5_9.method_5()));
     if (!Bass.BASS_Init(int_2, -197, (BASSInit)((BassAudioManager.GEnum1)(-50) | BassAudioManager.smethod_0(GlobalVariables.instance.gclass5_9.method_25())), IntPtr.Zero))
     {
         Debug.Log(Bass.BASS_ErrorGetCode());
     }
     else
     {
         this.isInitialized = false;
     }
     this.method_2(-96);
     this.stemChannels = new int[BassAudioManager.stemPaths.Length];
     this.method_30();
     this.SetGlobalVolume(-1);
     this.method_10();
 }
コード例 #2
0
    // Token: 0x06000F57 RID: 3927 RVA: 0x0007161C File Offset: 0x0006F81C
    private void method_45()
    {
        if (this.string_0 == "Yes")
        {
            this.textObjects[this.int_1].text = Bass.BASS_GetDeviceInfos()[1].name;
            return;
        }
        if (this.string_0 == "crowd")
        {
            this.textObjects[this.int_1].text = this.gclass5_0.method_10();
            BassAudioManager.instance.method_11(0);
            return;
        }
        if (this.string_0 == "delay")
        {
            this.textObjects[this.int_1].text = BassAudioManager.smethod_0(this.gclass5_0.method_5()).ToString();
            return;
        }
        string string_ = this.gclass5_0.String_1;

        this.textObjects[this.int_1].text = string_;
    }