C# Class SoundSwitch.Model.AudioDeviceLister

Inheritance: IAudioDeviceLister
Datei anzeigen Open project: Belphemur/SoundSwitch Class Usage Examples

Public Methods

Method Description
AudioDeviceLister ( DeviceState state ) : System
GetPlaybackDevices ( ) : ICollection

Get the playback device in the set state

GetRecordingDevices ( ) : ICollection

Get the recording device in the set state

Private Methods

Method Description
AudioControllerOnDeviceAdded ( object sender, DeviceAddedEvent deviceAddedEvent ) : void
AudioControllerOnDeviceDefaultChanged ( object sender, DeviceDefaultChangedEvent deviceDefaultChangedEvent ) : void
AudioControllerOnDeviceRemoved ( object sender, DeviceRemovedEvent deviceRemovedEvent ) : void
AudioControllerOnDeviceStateChanged ( object sender, DeviceStateChangedEvent deviceStateChangedEvent ) : void
Refresh ( ) : void

Method Details

AudioDeviceLister() public method

public AudioDeviceLister ( DeviceState state ) : System
state DeviceState
return System

GetPlaybackDevices() public method

Get the playback device in the set state
public GetPlaybackDevices ( ) : ICollection
return ICollection

GetRecordingDevices() public method

Get the recording device in the set state
public GetRecordingDevices ( ) : ICollection
return ICollection