Copyright © 2008-2019 MultiMedia Soft

SoundLoadedInfoGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains a specific information about the original sound file loaded into the editor.

In case you should need to obtain the same information for a sound file still not loaded into the editor, you could use the SoundFileInfoGet method.

 

 

Syntax

 

[Visual Basic]

control.SoundLoadedInfoGet (

nInfo as enumSoundFileInfo

) as String


 

[C++]

LPCTSTR control.SoundLoadedInfoGet (

short nInfo

);


 

Parameter

Description

 

 

nInfo

The specific information that must be obtained.

Supported values are the following:

Mnemonic constant

Value

Meaning

SOUNDFILE_INFO_FORMAT

0

Audio format

SOUNDFILE_INFO_FREQUENCY

1

Audio frequency or sample rate

SOUNDFILE_INFO_CHANNELS

2

Audio channels

SOUNDFILE_INFO_BITS_PER_SAMPLE

3

Audio bits per sample

SOUNDFILE_INFO_WAV_FORMAT_TAG

4

WAV format tag

SOUNDFILE_INFO_WAV_FORMAT_TAG_DESC

5

WAV format tag friendly descriptor

SOUNDFILE_INFO_ENCODE_MODE

6

Encode mode

SOUNDFILE_INFO_ENCODE_MODE_DESC

7

Encode mode friendly descriptor

SOUNDFILE_INFO_AVERAGE_BITRATE

8

Average bitrate

SOUNDFILE_INFO_RAW_LITTLE_ENDIAN

9

Endiannes for raw audio files

SOUNDFILE_INFO_MP3_FRAMES

10

Number of MP3 frames

SOUNDFILE_INFO_MP3_MPEG_LEVEL

11

MP3 level

SOUNDFILE_INFO_MP3_MPEG_LAYER

12

Type of MPEG layer for MP3 files

SOUNDFILE_INFO_MP3_BITRATE

13

MP3 bitrate

SOUNDFILE_INFO_MP3_CHAN_MODE

14

MP3 channel mode

SOUNDFILE_INFO_MP3_IS_VBR

15

MP3 is VBR

SOUNDFILE_INFO_WMA_CODEC

16

Type of WMA codec

SOUNDFILE_INFO_DURATION_MS

17

Sound duration in milliseconds

 

 

Return value

 

Value

Meaning

 

 

Empty string

An error occurred (see the LastError property for further error details)

Valid string

String of characters containing the requested information