Copyright © 2006-2019 MultiMedia Soft

EncodeFormats.ResampleNativeFormat property

Previous pageReturn to chapter overviewNext page

Type

[Visual Basic]

Public Property ResampleNativeFormat As Int16


 

[C#]

public Int16 ResampleNativeFormat {get; set;}


 

[C++]

public: __property Int16 get_ResampleNativeFormat();

public: __property void set_ResampleNativeFormat(Int16);


 

 

Remarks

The index of one of the native resampling formats supported by the sound card in use.

 

The number of available native formats can be obtained using the EncodeFormats.ResampleNativeFormatsGetCount method and their respective friendly description can be obtained using the EncodeFormats.ResampleNativeFormatGetDesc.

 

This property can be set to -1 when the recording session is performed from a file: in this case the control will start recording using the original parameters (frequency, channels and bits per sample) of the input file and will not perform any resampling.

 

This property is ignored for recording sessions when the EncodeFormats.ForRecording property is set to ENCODING_FORMAT_WMA and the EncodeFormats.WMA.EncodeMode property is set to WMA_ENCODE_PROFILE.

 

For further details about encoding and resampling options refer to the EncodeFormatsMan class section.