/// <summary> /// Gets limits on audio compression for a given encoder. /// </summary> /// <param name="encoderId"> /// The audio encoder ID. /// </param> /// <returns> /// Limits on the audio compression for the given encoder. /// </returns> public static RangeLimits GetAudioCompressionLimits(int encoderId) { float low = 0, high = 0, granularity = 0; int direction = 0; hbFunctions.hb_audio_compression_get_limits((uint)encoderId, ref low, ref high, ref granularity, ref direction); return(new RangeLimits(direction == 0, granularity, high, low)); }