private static extern int aften_remap_mpeg_to_a52( int[] samples, int n, int ch, A52SampleFormat fmt, AudioCodingMode acmod);
/// <summary> /// Remaps the MPEG to a52 order. /// </summary> /// <param name="samples">The samples.</param> /// <param name="channels">The channels.</param> /// <param name="audioCodingMode">The audio coding mode.</param> public static void RemapMpegToA52( int[] samples, int channels, AudioCodingMode audioCodingMode) { aften_remap_mpeg_to_a52(samples, samples.Length / channels, channels, A52SampleFormat.Int32, audioCodingMode); }
private static extern int aften_wav_channels_to_acmod( int ch, uint chmask, out AudioCodingMode acmod, out bool lfe);
/// <summary> /// Remaps the standard wave to a52 order. /// </summary> /// <param name="samples">The samples.</param> /// <param name="channels">The channels.</param> /// <param name="audioCodingMode">The audio coding mode.</param> public static void RemapWaveToA52( short[] samples, int channels, AudioCodingMode audioCodingMode) { aften_remap_wav_to_a52(samples, samples.Length / channels, channels, A52SampleFormat.Int16, audioCodingMode); }
private static extern int aften_remap_mpeg_to_a52( int[] samples, int n, int ch, A52SampleFormat fmt, AudioCodingMode acmod );
private static extern int aften_wav_channels_to_acmod( int ch, uint chmask, out AudioCodingMode acmod, out bool lfe );
/// <summary> /// Remaps the MPEG to a52 order. /// </summary> /// <param name="samples">The samples.</param> /// <param name="channels">The channels.</param> /// <param name="audioCodingMode">The audio coding mode.</param> public static void RemapMpegToA52( int[] samples, int channels, AudioCodingMode audioCodingMode ) { aften_remap_mpeg_to_a52( samples, samples.Length / channels, channels, A52SampleFormat.Int32, audioCodingMode ); }
/// <summary> /// Remaps the standard wave to a52 order. /// </summary> /// <param name="samples">The samples.</param> /// <param name="channels">The channels.</param> /// <param name="audioCodingMode">The audio coding mode.</param> public static void RemapWaveToA52( short[] samples, int channels, AudioCodingMode audioCodingMode ) { aften_remap_wav_to_a52( samples, samples.Length / channels, channels, A52SampleFormat.Int16, audioCodingMode ); }