Logo Search packages:      
Sourcecode: aften version File versions  Download package

Aften::Utility Class Reference

List of all members.


Detailed Description

Utility functions.

Definition at line 56 of file aftenxx.h.


Static Public Member Functions

static AudioCodingMode GetAudioCodingMode (int channels, uint channelMask, out bool hasLfe)
 Gets the audio coding mode from the specified channels and mask.
static FloatType GetFloatType ()
 Gets the float precision of the compiled Aften library.
static FloatType GetFloatType ()
 Tells whether libaften was configured to use floats or doubles.
static string GetVersion ()
 Gets the version.
static const char * GetVersion ()
 Gets the libaften version string.
static void RemapMpegToA52 (int[] samples, int channels, AudioCodingMode audioCodingMode)
 Remaps the MPEG to a52 order.
static void RemapMpegToA52 (short[] samples, int channels, AudioCodingMode audioCodingMode)
 Remaps the MPEG to a52 order.
static void RemapMpegToA52 (sbyte[] samples, int channels, AudioCodingMode audioCodingMode)
 Remaps the MPEG to a52 order.
static void RemapMpegToA52 (byte[] samples, int channels, AudioCodingMode audioCodingMode)
 Remaps the MPEG to a52 order.
static void RemapMpegToA52 (float[] samples, int channels, AudioCodingMode audioCodingMode)
 Remaps the MPEG to a52 order.
static void RemapMpegToA52 (double[] samples, int channels, AudioCodingMode audioCodingMode)
 Remaps the MPEG to a52 order.
static void RemapMpegToA52 (void *samples, int samplesCount, int channels, A52SampleFormat format, int acmod)
static void RemapWaveToA52 (int[] samples, int channels, AudioCodingMode audioCodingMode)
 Remaps the standard wave to a52 order.
static void RemapWaveToA52 (short[] samples, int channels, AudioCodingMode audioCodingMode)
 Remaps the standard wave to a52 order.
static void RemapWaveToA52 (sbyte[] samples, int channels, AudioCodingMode audioCodingMode)
 Remaps the standard wave to a52 order.
static void RemapWaveToA52 (byte[] samples, int channels, AudioCodingMode audioCodingMode)
 Remaps the standard wave to a52 order.
static void RemapWaveToA52 (float[] samples, int channels, AudioCodingMode audioCodingMode)
 Remaps the standard wave to a52 order.
static void RemapWaveToA52 (double[] samples, int channels, AudioCodingMode audioCodingMode)
 Remaps the standard wave to a52 order.
static void RemapWaveToA52 (void *samples, int samplesCount, int channels, A52SampleFormat format, int acmod)
static void WaveChannelsToAcmod (int channels, unsigned int channelMask, int &acmod, int &hasLfe)
 overload for convenience
static void WaveChannelsToAcmod (int channels, unsigned int channelMask, int &acmod, bool &hasLfe)

Private Member Functions

static FloatType aften_get_float_type ()
static IntPtr aften_get_version ()
static int aften_remap_mpeg_to_a52 (int[] samples, int n, int ch, A52SampleFormat fmt, AudioCodingMode acmod)
static int aften_remap_mpeg_to_a52 (short[] samples, int n, int ch, A52SampleFormat fmt, AudioCodingMode acmod)
static int aften_remap_mpeg_to_a52 (sbyte[] samples, int n, int ch, A52SampleFormat fmt, AudioCodingMode acmod)
static int aften_remap_mpeg_to_a52 (byte[] samples, int n, int ch, A52SampleFormat fmt, AudioCodingMode acmod)
static int aften_remap_mpeg_to_a52 (float[] samples, int n, int ch, A52SampleFormat fmt, AudioCodingMode acmod)
static int aften_remap_mpeg_to_a52 (double[] samples, int n, int ch, A52SampleFormat fmt, AudioCodingMode acmod)
static int aften_remap_wav_to_a52 (int[] samples, int n, int ch, A52SampleFormat fmt, AudioCodingMode acmod)
static int aften_remap_wav_to_a52 (short[] samples, int n, int ch, A52SampleFormat fmt, AudioCodingMode acmod)
static int aften_remap_wav_to_a52 (sbyte[] samples, int n, int ch, A52SampleFormat fmt, AudioCodingMode acmod)
static int aften_remap_wav_to_a52 (byte[] samples, int n, int ch, A52SampleFormat fmt, AudioCodingMode acmod)
static int aften_remap_wav_to_a52 (float[] samples, int n, int ch, A52SampleFormat fmt, AudioCodingMode acmod)
static int aften_remap_wav_to_a52 (double[] samples, int n, int ch, A52SampleFormat fmt, AudioCodingMode acmod)
static int aften_wav_channels_to_acmod (int ch, uint chmask, out AudioCodingMode acmod, out bool lfe)

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index