Märkus.
Juurdepääs sellele lehele nõuab autoriseerimist. Võite proovida sisse logida või kausta vahetada.
Juurdepääs sellele lehele nõuab autoriseerimist. Võite proovida kausta vahetada.
Gets the count of spatial audio objects, represented by IMFSpatialAudioObjectBuffer objects, in the sample.
Syntax
HRESULT GetObjectCount(
[out] DWORD *pdwObjectCount
);
Parameters
[out] pdwObjectCount
A pointer to a 32 bit variable where the total number of audio objects in the sample 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 |