/// <summary>
 /// Determines if DRC can be applied to the given track with the given encoder.
 /// </summary>
 /// <param name="trackNumber">
 /// The track Number.
 /// </param>
 /// <param name="encoder">
 /// The encoder to use for DRC.
 /// </param>
 /// <param name="title">
 /// The title.
 /// </param>
 /// <returns>
 /// True if DRC can be applied to the track with the given encoder.
 /// </returns>
 public static bool CanApplyDrc(int trackNumber, HBAudioEncoder encoder, int title)
 {
     return(HBFunctions.hb_audio_can_apply_drc2(HandBrakeInstanceManager.LastScanHandle, title, trackNumber, encoder.Id) > 0);
 }
Esempio n. 2
0
 /// <summary>
 /// Determines if DRC can be applied to the given track with the given encoder.
 /// </summary>
 /// <param name="handle">
 /// The handle.
 /// </param>
 /// <param name="trackNumber">
 /// The track Number.
 /// </param>
 /// <param name="encoder">
 /// The encoder to use for DRC.
 /// </param>
 /// <param name="title">
 /// The title.
 /// </param>
 /// <returns>
 /// True if DRC can be applied to the track with the given encoder.
 /// </returns>
 public static bool CanApplyDrc(IntPtr handle, int trackNumber, HBAudioEncoder encoder, int title)
 {
     return(HBFunctions.hb_audio_can_apply_drc2(handle, title, trackNumber, encoder.Id) > 0);
 }
Esempio n. 3
0
 public int hb_audio_can_apply_drc2(IntPtr handle, int title_index, int audio_index, int encoder)
 {
     return(HBFunctions.hb_audio_can_apply_drc2(handle, title_index, audio_index, encoder));
 }