Copyright © 2005-2019 MultiMedia Soft

OutputDeviceChanged event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs when the output device (sound card) has been changed through a successful call to the StreamOutputDeviceSet method.

 

For further details about output devices management, take a look to the How to work with multiple output devices and speakers section.

For further details about synchronization through Events see the How to synchronize the container application through events tutorial.

 

 

Syntax

 

[Visual Basic]

Public Event OutputDeviceChanged As OutputDeviceChangedEventHandler


 

[C#]

public event OutputDeviceChangedEventHandler OutputDeviceChanged;


 

[C++]

public: __event OutputDeviceChangedEventHandler OutputDeviceChanged;


 

 

Event Data

 

The event handler receives an argument of type OutputDeviceChangedEventArgs having the following parameters:

 

Parameters

Description

 

 

nPlayerIndex

Number representing the zero-based index of the player that fired the event

nOutput

Number representing the zero-based index of the new output device for the given player