}\r
}\r
\r
-\r
- private void SetBitrate2()\r
- {\r
- int max = 0;\r
- switch (drp_audioEncoder.Text)\r
- {\r
- case "AAC (faac)":\r
- max = drp_audioMix.Text.Contains("6 Channel") ? 384 : 160;\r
- break;\r
- case "MP3 (lame)":\r
- max = 320;\r
- break;\r
- case "Vorbis (vorbis)":\r
- max = 384;\r
- break;\r
- case "AC3 Passthru":\r
- drp_audioBitrate.Items.Add("Auto");\r
- drp_audioBitrate.SelectedItem = "Auto";\r
- drp_audioSample.SelectedItem = "Auto";\r
- break;\r
- case "DTS Passthru":\r
- drp_audioBitrate.Items.Add("Auto");\r
- drp_audioBitrate.SelectedItem = "Auto";\r
- drp_audioSample.SelectedItem = "Auto";\r
- break;\r
- }\r
- }\r
-\r
private void SetBitrate()\r
{\r
int max = 0;\r