AudioDeviceController.SetMediaStreamPropertiesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the encoding properties asynchronously for the specified media stream type for the device.
public:
virtual IAsyncAction ^ SetMediaStreamPropertiesAsync(MediaStreamType mediaStreamType, IMediaEncodingProperties ^ mediaEncodingProperties) = SetMediaStreamPropertiesAsync;
IAsyncAction SetMediaStreamPropertiesAsync(MediaStreamType const& mediaStreamType, IMediaEncodingProperties const& mediaEncodingProperties);
public IAsyncAction SetMediaStreamPropertiesAsync(MediaStreamType mediaStreamType, IMediaEncodingProperties mediaEncodingProperties);
function setMediaStreamPropertiesAsync(mediaStreamType, mediaEncodingProperties)
Public Function SetMediaStreamPropertiesAsync (mediaStreamType As MediaStreamType, mediaEncodingProperties As IMediaEncodingProperties) As IAsyncAction
Parameters
- mediaStreamType
- MediaStreamType
The type of media stream for which to set the properties.
- mediaEncodingProperties
- IMediaEncodingProperties
The encoding properties to set.
Returns
An IAsyncAction object that is used to control the asynchronous operation.