C# Class EarTrumpet.Services.EarTrumpetAudioDeviceService

ファイルを表示 Open project: File-New-Project/EarTrumpet Class Usage Examples

Public Methods

Method Description
GetAudioDeviceVolume ( string deviceId ) : float
GetAudioDevices ( ) : IEnumerable
MuteAudioDevice ( string deviceId ) : void
SetAudioDeviceVolume ( string deviceId, float volume ) : void
SetDefaultAudioDevice ( string deviceId ) : void
UnmuteAudioDevice ( string deviceId ) : void

Method Details

GetAudioDeviceVolume() public method

public GetAudioDeviceVolume ( string deviceId ) : float
deviceId string
return float

GetAudioDevices() public method

public GetAudioDevices ( ) : IEnumerable
return IEnumerable

MuteAudioDevice() public method

public MuteAudioDevice ( string deviceId ) : void
deviceId string
return void

SetAudioDeviceVolume() public method

public SetAudioDeviceVolume ( string deviceId, float volume ) : void
deviceId string
volume float
return void

SetDefaultAudioDevice() public method

public SetDefaultAudioDevice ( string deviceId ) : void
deviceId string
return void

UnmuteAudioDevice() public method

public UnmuteAudioDevice ( string deviceId ) : void
deviceId string
return void