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] Public Function FileInfoGet ( ByRef nFrequency as Int32, ByRef nChannels as Int32, ByRef nEncodeMode as enumRAWEncodeModes ) as Int32 |
[C#] public Int32 FileInfoGet ( ref Int64 nFrequency, ref Int64 nChannels, ref enumRAWEncodeModes nEncodeMode ); |
[C++] public: Int32 FileInfoGet ( Int64 __gc *nFrequency, Int64 __gc *nChannels, enumRAWEncodeModes __gc *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. |