protected uint CalculateAudioBitrate(uint totalBitrate) { // Calculate the portion of the audio bitrate to use for the given total bitrate return (uint)(2.6899 * Math.Pow((double)totalBitrate, -0.44) * totalBitrate); }