C# Class FSClient.PortAudio

Mostrar archivo Open project: mitchcapper/FSClient Class Usage Examples

Public Methods

Method Description
Call ( string dest ) : void
ClearRingDev ( ) : void
CloseStreams ( ) : void
Hangup ( int call_id ) : void
HoldAll ( ) : void
PlayDTMF ( char dtmf, string uuid, bool no_close = false ) : void
PlayInUUID ( string uuid, string to_play ) : void
PrepareStream ( AudioDevice indev, AudioDevice outdev ) : void
SendDTMF ( string dtmf ) : void
SetInAndOutDev ( AudioDevice indev, AudioDevice outdev ) : void
SwitchTo ( int call_id ) : void
get_devices ( bool refresh ) : AudioDevice[]
refresh_devices ( bool force = false ) : void
set_mute ( bool muted ) : void

Private Methods

Method Description
Answer ( int call_id ) : void
SetInAndOutDev ( int indev_guid, int outdev_guid ) : void
SetInDev ( int guid ) : void
SetOutDev ( int guid ) : void
SetRingDev ( int guid ) : void
guid_to_id ( int guid ) : int

Method Details

Call() public static method

public static Call ( string dest ) : void
dest string
return void

ClearRingDev() public static method

public static ClearRingDev ( ) : void
return void

CloseStreams() public static method

public static CloseStreams ( ) : void
return void

Hangup() public static method

public static Hangup ( int call_id ) : void
call_id int
return void

HoldAll() public static method

public static HoldAll ( ) : void
return void

PlayDTMF() public static method

public static PlayDTMF ( char dtmf, string uuid, bool no_close = false ) : void
dtmf char
uuid string
no_close bool
return void

PlayInUUID() public static method

public static PlayInUUID ( string uuid, string to_play ) : void
uuid string
to_play string
return void

PrepareStream() public static method

public static PrepareStream ( AudioDevice indev, AudioDevice outdev ) : void
indev AudioDevice
outdev AudioDevice
return void

SendDTMF() public static method

public static SendDTMF ( string dtmf ) : void
dtmf string
return void

SetInAndOutDev() public static method

public static SetInAndOutDev ( AudioDevice indev, AudioDevice outdev ) : void
indev AudioDevice
outdev AudioDevice
return void

SwitchTo() public static method

public static SwitchTo ( int call_id ) : void
call_id int
return void

get_devices() public static method

public static get_devices ( bool refresh ) : AudioDevice[]
refresh bool
return AudioDevice[]

refresh_devices() public static method

public static refresh_devices ( bool force = false ) : void
force bool
return void

set_mute() public static method

public static set_mute ( bool muted ) : void
muted bool
return void