Copyright © 2005-2018 MultiMedia Soft

OutputDeviceChanged event

Previous pageReturn to chapter overviewNext page



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.





[Visual Basic]

Public Event OutputDeviceChanged As OutputDeviceChangedEventHandler



public event OutputDeviceChangedEventHandler OutputDeviceChanged;



public: __event OutputDeviceChangedEventHandler OutputDeviceChanged;



Event Data


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







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


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