共用方式為


AudioDeviceController.SetMediaStreamPropertiesAsync 方法

定義

針對裝置的指定媒體資料流程類型,以非同步方式設定編碼屬性。

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

參數

mediaStreamType
MediaStreamType

要為其設定屬性的媒體資料流程類型。

mediaEncodingProperties
IMediaEncodingProperties

要設定的編碼屬性。

傳回

用來控制非同步作業的 IAsyncAction 物件。

實作

適用於