Type | Name | Description |
---|---|---|
long | BitrateSupportedCount | (Read-only) Gets the current count of supported bitrates. |
long | Bitrate | Gets or sets the desired bitrate for the audio stream. This value is in kilobits/second. |
long | ChannelsSupportedCount | (Read-only) Gets the current count of audio channels supported. |
long | Channels | Gets or sets the channels type (Stereo, 5.1, 7.1). |
long | SampleRateSupportedCount | (Read-only) Gets the current count of audio sample rate supported. |
long | SampleRate | Gets or sets the desired sample rate. |
long | BitsPerSampleSupportedCount | (Read-only) Gets the current count of bits / sample supported. |
long | BitsPerSample | Gets or sets the bits per sample. |
Gets the supported bitrate value at the specified index. The value returned is measured in kilobits/second. For example, a value of 192 means 192 kbps.
Index of desired bitrate value.
Pointer to the long value representing the returned bitrate.
Return | Description |
---|---|
S_OK | Successful. |
< 0 | An error occurred. |
Checks the specified bitrate for support.
A long value representing the bitrate to check. The bitrate should be in kilobits/second.
Pointer to the VARIANT_BOOL value indicating whether or not the bitrate is supported.
Return | Description |
---|---|
S_OK | Successful. |
< 0 | An error occurred. |
E_POINTER | [0x80004003] pVal is NULL. |
Gets the long value representing the audio channels type supported for the specified index, given the current audio stream bitrate.
Index to the channel type.
Pointer to the long variable to receive the channel type value supported at the given index.
Possible values are: 1=Mono, 2=Stereo, 6=5.1 Surround, 8=7.1 Surround.
Return | Description |
---|---|
S_OK | Successful. |
< 0 | An error occurred. |
E_POINTER | [0x80004003] pVal is NULL. |
E_INVALIDARG | [0x80070057] Index is invalid. |
Gets a boolean value indicating whether or not the current audio stream and bit rate support the desired channel type.
A long value indicating the desired channel type value. 1=Mono, 2=Stereo, 6=5.1 Surround, 8=7.1 Surround.
Pointer to the VARIANT_BOOL value indicating whether or not the channels is supported.
Return | Description |
---|---|
S_OK | Successful. |
< 0 | An error occurred. |
Gets the long value representing the sample rate for the specified index, given the current audio stream bitrate.
Index to the sample rate.
Pointer to the long variable to receive the sample rate value supported at the given index.
Return | Description |
---|---|
S_OK | Successful. |
< 0 | An error occurred. |
E_POINTER | [0x80004003] pVal is NULL. |
E_INVALIDARG | [0x80070057] Index is invalid. |
Gets a boolean value indicating whether or not the current audio stream and bit rate support the sample rate.
A long value indicating the sample rate to check.
Pointer to the VARIANT_BOOL value indicating whether or not the sample rate is supported.
Return | Description |
---|---|
S_OK | Successful. |
< 0 | An error occurred. |
Index to the bits per sample.
Pointer to the long variable to receive the bits per sample value supported at the given index.
Gets the long value representing the bits per sample for the sample rates associated with the current channel type for the specified index, given the current audio stream bitrate.
Return | Description |
---|---|
S_OK | Successful. |
< 0 | An error occurred. |
E_POINTER | [0x80004003] pVal is NULL. |
E_INVALIDARG | [0x80070057] Index is invalid. |
Gets a boolean value indicating whether or not the current audio stream and bit rate support the bits per sample.
A long value indicating the bits per sample to check.
Pointer to the VARIANT_BOOL value indicating whether or not the bits per sample is supported.
Return | Description |
---|---|
S_OK | Successful. |
< 0 | An error occurred. |