Нотатка
Доступ до цієї сторінки потребує авторизації. Можна спробувати ввійти або змінити каталоги.
Доступ до цієї сторінки потребує авторизації. Можна спробувати змінити каталоги.
Gets the type of the spatial audio object represented by the buffer. If SetType has not been called previously, this method returns the default value of AudioObjectType_None.
Syntax
HRESULT GetType(
[out] AudioObjectType *pType
);
Parameters
[out] pType
A pointer to an AudioObjectType variable where the audio object type will be stored.
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
| Return code | Description |
|---|---|
|
The method succeeded. |
|
The supplied pointer is invalid. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 10, version 1703 [desktop apps only] |
| Minimum supported server | None supported |
| Target Platform | Windows |
| Header | mfspatialaudio.h (include Mfobjects.h) |
| Library | Mfobjects.lib |