|
Copyright © 2006 - 2008 MultiMedia Soft
Return to Table of contents
|
|
[Visual Basic]
Public Function StartFromFileRaw (
strOutputPath as string,
strInputPath as string,
nEncodeMode as enumRAWEncodeModes,
bIsBigEndian as Boolean,
nFrequency as Int32,
nChannels as Int32
) as enumErrorCodes
|
|
[C#]
public enumErrorCodes StartFromFileRaw (
string strOutputPath,
string strInputPath,
enumRAWEncodeModes nEncodeMode,
bool bIsBigEndian,
Int32 nFrequency,
Int32 nChannels
);
|
|
[C++]
public: enumErrorCodes StartFromFileRaw (
string strOutputPath,
string strInputPath,
enumRAWEncodeModes nEncodeMode,
bool bIsBigEndian,
Int32 nFrequency,
Int32 nChannels
);
|
|
Parameter
|
Description
| |||||||||||||||||||||||||||||||||
|
|
| |||||||||||||||||||||||||||||||||
|
strOutputPath
|
String representing the absolute pathname of the output file that will contain the recorded data. If this pathname should contain invalid characters, they would be automatically changed into an underscore '_' character.
If the string is left empty, the recording session will be performed in memory.
| |||||||||||||||||||||||||||||||||
|
strInputPath
|
String representing the absolute pathname of the input file.
| |||||||||||||||||||||||||||||||||
|
nEncodeMode
|
Encode mode used to encode the RAW file.
Supported values are the following:
| |||||||||||||||||||||||||||||||||
|
bIsBigEndian
|
Boolean flag that tells if bits order inside the RAW file are little-endian or big-endian
Supported values are the following:
| |||||||||||||||||||||||||||||||||
|
nFrequency
|
Sample rate of the RAW file (e.g. 44100)
| |||||||||||||||||||||||||||||||||
|
nChannels
|
Number of channels of the RAW file: 1 for Mono or 2 for Stereo
|
|
Value
|
Meaning
|
|
|
|
|
Negative value
|
An error occurred. Check the LastError property value in order to see the last error.
|
|
enumErrorCodes.ERR_NOERROR (0)
|
The method call was successful.
|