Skip to content

Latest commit

 

History

History
170 lines (131 loc) · 4.68 KB

nf-spatialaudioclient-ispatialaudioobjectrenderstreambase-getservice.md

File metadata and controls

170 lines (131 loc) · 4.68 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:spatialaudioclient.ISpatialAudioObjectRenderStreamBase.GetService
ISpatialAudioObjectRenderStreamBase::GetService (spatialaudioclient.h)
Gets additional services from the ISpatialAudioObjectRenderStream.
GetService
GetService method [Core Audio]
GetService method [Core Audio]
ISpatialAudioObjectRenderStreamBase interface
ISpatialAudioObjectRenderStreamBase interface [Core Audio]
GetService method
ISpatialAudioObjectRenderStreamBase.GetService
ISpatialAudioObjectRenderStreamBase::GetService
coreaudio.ispatialaudioobjectrenderstream_getservice
spatialaudioclient/ISpatialAudioObjectRenderStreamBase::GetService
coreaudio\ispatialaudioobjectrenderstream_getservice.htm
CoreAudio
9262C9E1-DE15-460C-9BC2-DAD5163F447E
12/05/2018
GetService, GetService method [Core Audio], GetService method [Core Audio],ISpatialAudioObjectRenderStreamBase interface, ISpatialAudioObjectRenderStreamBase interface [Core Audio],GetService method, ISpatialAudioObjectRenderStreamBase.GetService, ISpatialAudioObjectRenderStreamBase::GetService, coreaudio.ispatialaudioobjectrenderstream_getservice, spatialaudioclient/ISpatialAudioObjectRenderStreamBase::GetService
spatialaudioclient.h
Windows
Windows
19H1
ISpatialAudioObjectRenderStreamBase::GetService
spatialaudioclient/ISpatialAudioObjectRenderStreamBase::GetService
c++
APIRef
kbSyntax
COM
spatialaudioclient.h
ISpatialAudioObjectRenderStreamBase.GetService

ISpatialAudioObjectRenderStreamBase::GetService

-description

Gets additional services from the ISpatialAudioObjectRenderStream.

-parameters

-param riid [in]

The interface ID for the requested service. The client should set this parameter to one of the following REFIID values:

IID_IAudioClock

IID_IAudioClock2

IID_IAudioStreamVolume

-param service [out]

Pointer to a pointer variable into which the method writes the address of an instance of the requested interface. Through this method, the caller obtains a counted reference to the interface. The caller is responsible for releasing the interface, when it is no longer needed, by calling the interface's Release method. If the GetService call fails, *ppv is NULL.

-returns

If the method succeeds, it returns S_OK. If it fails, possible return codes include, but are not limited to, the values shown in the following table.

Return code Description
E_POINTER
Parameter ppv is NULL.
SPTLAUDCLNT_E_DESTROYED
The ISpatialAudioClient associated with the spatial audio stream has been destroyed.
AUDCLNT_E_DEVICE_INVALIDATED
The audio endpoint device has been unplugged, or the audio hardware or associated hardware resources have been reconfigured, disabled, removed, or otherwise made unavailable for use.
SPTLAUDCLNT_E_INTERNAL
An internal error has occurred.
AUDCLNT_E_UNSUPPORTED_FORMAT
The media associated with the spatial audio stream uses an unsupported format.

-remarks

The GetService method supports the following service interfaces:

-see-also

ISpatialAudioObjectRenderStream

ISpatialAudioObjectRenderStreamBase