MediaFileDecoder.FileInfoGet method |
|
Remarks
Obtains information about the decoded media file.
For details about management of media files decoding, refer to the How to decode media files tutorial.
Syntax
[Visual Basic] control.MediaFileDecoder.FileInfoGet ( nFrequency as Long, nChannels as Long, nEncodeMode as enumRAWEncodeModes ) as enumErrorCodes |
[C++] short control.MediaFileDecoder.FileInfoGet ( long *nFrequency, long *nChannels, long *nEncodeMode ); |
Parameter |
Description |
||||||||||||
|
|
||||||||||||
nFrequency |
Reference that, on return from the method call, will contain the sample rate of the decoded file |
||||||||||||
nChannels |
Reference that, on return from the method call, will contain the number of channels of the decoded file |
||||||||||||
nEncodeMode |
Reference that, on return from the method call, will contain the encode mode (bit depth) used to internally store the decoded and uncompressed file: for RAW sound files, in most cases it may not reflect the original encode mode of the source file. Supported values are the following:
|
Return value
Value |
Meaning |
|
|
enumErrorCodes.NOERROR (0) |
The method call successful. |
Negative value |
An error occurred: see the LastError property for further error details or for a list of the possible error values. |