TRVAudioCodec

<< Click to display table of contents >>

TRVAudioCodec

Specifies a codec used to encode sound in TRVAudioPlayer and TRVCamRecorder components.

Unit [VCL and LCL] MRVType;

Unit [FMX] fmxMRVType;

type
  TRVAudioCodec = (rvacDefault, 
    rvacWAV, rvacMP2, rvacMP3, rvacAC3,
    rvacVorbis, rvacFLAC, rvacOpus, rvacWMAv1, rvacWMAv2,
    rvacAAC, rvacRA1, rvacG723_1, rvacSpeex,
    {$IFDEF MRVCODEC_DTS} // still experimental in FFmpeg 4 
    rvacDTS,
    {$ENDIF}
    rvacWavPack, rvacALAC, rvacAMR);

Value

Format name

(see GetAudioCodecName)

Recommended file extension

(see GetAudioFileExt)

rvacWAV

WAV (Waveform Audio)

wav

rvacMP2

MP2 (MPEG-1 Audio Layer II)

mp2

rvacMP3

MP3 (MPEG-1 Audio Layer III)

mp3

rvacAC3

AC3 (Dolby Audio Codec 3)

ac3

rvacVorbis

Vorbis

ogg

rvacFLAC

FLAC (Free Lossless Audio Codec)

flac

rvacOpus

Opus

opus

rvacWMAv1

WMA (Windows Media Audio) v.1

wma

rvacWMAv2

WMA (Windows Media Audio) v.2

wma

rvacAAC

AAC (Advanced Audio Coding)

m4a

rvacRA1

RealAudio 1

ra

rvacG723_1

G.723.1

wav

rvacSpeex

Speex

spx

rvacDTS

DTS

dts

rvacWavPack

WavPack

wv

rvacALAC

ALAC (Apple Lossless Audio Codec)

m4a

rvacAMR

AMR (Adaptive Multi-Rate audio codec)

amr

Warning: Some audio formats may be patent-protected in some countries, and supporting these formats will require from you obtaining licenses from the patent owners.

This type is used for:

TRVAudioPlayer.EncodeAudioCodec property.

TRVCamRecorder.AudioCodec property

See also:

TRVVideoCodec