Share via


Audiopath Object

Windows Media Encoder SDK banner art

The Audiopath object represents a configuration of channels, ports, and buffers through which sound data is streamed. An audiopath is created in an application and passed to the script as an object variable. An audiopath can also be created using the AudiopathConfig.Create method. The script can then download and unload instrument data on that path and play segments on it by passing the Audiopath object as a parameter to the following methods:

The Audiopath object has the following methods.

Method Description
GetVolume Retrieves the volume for all segments and songs playing through this audiopath.
SetVolume Sets the volume for all segments and songs playing through this audiopath.