예제 #1
0
 internal VideoInfo(VideoInfo info)
     : this(info.FormatCode, info.VideoType, info.Resolution, info.Is3D, info.AudioType, info.AudioBitrate, info.AdaptiveType)
 {
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AudioDownloader"/> class.
 /// </summary>
 /// <param name="video">The video to convert.</param>
 /// <param name="savePath">The path to save the audio.</param>
 /// /// <param name="bytesToDownload">An optional value to limit the number of bytes to download.</param>
 /// <exception cref="ArgumentNullException"><paramref name="video"/> or <paramref name="savePath"/> is <c>null</c>.</exception>
 public AudioDownloader(VideoInfo video, string savePath, int?bytesToDownload = null)
     : base(video, savePath, bytesToDownload)
 {
 }