Audio
Class
constructor
parent
Class
name
connect
Channel
get
Playback
Volume
Info
Async
get
Playback
Volume
Info
Finish
get
Record
Volume
Info
Async
get
Record
Volume
Info
Finish
NODE-GTK API Reference
SpiceClientGLib-2.0
SpiceClientGLib
AudioClass
Class AudioClass
Class structure for #SpiceAudio.
record
Hierarchy
AudioClass
Index
Constructors
constructor
Properties
parent
Class
name
Methods
connect
Channel
get
Playback
Volume
Info
Async
get
Playback
Volume
Info
Finish
get
Record
Volume
Info
Async
get
Record
Volume
Info
Finish
Constructors
constructor
new
Audio
Class
(
)
:
AudioClass
Returns
AudioClass
Properties
parent
Class
parent
Class
:
GObject
.
ObjectClass
Parent class.
field
Static
name
name
:
string
Methods
connect
Channel
connect
Channel
(
audio
:
SpiceClientGLib
.
Audio
, channel
:
SpiceClientGLib
.
Channel
)
:
boolean
Parameters
audio:
SpiceClientGLib
.
Audio
channel:
SpiceClientGLib
.
Channel
Returns
boolean
get
Playback
Volume
Info
Async
get
Playback
Volume
Info
Async
(
audio
:
SpiceClientGLib
.
Audio
, cancellable
:
Gio
.
Cancellable
, mainChannel
:
MainChannel
, callback
:
AsyncReadyCallback
)
:
void
Parameters
audio:
SpiceClientGLib
.
Audio
cancellable:
Gio
.
Cancellable
mainChannel:
MainChannel
callback:
AsyncReadyCallback
Returns
void
get
Playback
Volume
Info
Finish
get
Playback
Volume
Info
Finish
(
audio
:
SpiceClientGLib
.
Audio
, res
:
AsyncResult
, mute
:
boolean
, nchannels
:
number
, volume
:
number
)
:
boolean
Parameters
audio:
SpiceClientGLib
.
Audio
res:
AsyncResult
mute:
boolean
nchannels:
number
volume:
number
Returns
boolean
get
Record
Volume
Info
Async
get
Record
Volume
Info
Async
(
audio
:
SpiceClientGLib
.
Audio
, cancellable
:
Gio
.
Cancellable
, mainChannel
:
MainChannel
, callback
:
AsyncReadyCallback
)
:
void
Parameters
audio:
SpiceClientGLib
.
Audio
cancellable:
Gio
.
Cancellable
mainChannel:
MainChannel
callback:
AsyncReadyCallback
Returns
void
get
Record
Volume
Info
Finish
get
Record
Volume
Info
Finish
(
audio
:
SpiceClientGLib
.
Audio
, res
:
AsyncResult
, mute
:
boolean
, nchannels
:
number
, volume
:
number
)
:
boolean
Parameters
audio:
SpiceClientGLib
.
Audio
res:
AsyncResult
mute:
boolean
nchannels:
number
volume:
number
Returns
boolean
Audio
Class
constructor
parent
Class
name
connect
Channel
get
Playback
Volume
Info
Async
get
Playback
Volume
Info
Finish
get
Record
Volume
Info
Async
get
Record
Volume
Info
Finish
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJTcGljZUNsaWVudEdMaWJfMl8wLlNwaWNlQ2xpZW50R0xpYi5BdWRpb0NsYXNzLmh0bWwjY29uc3RydWN0b3IiLCJuYW1lIjoiY29uc3RydWN0b3IiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJTcGljZUNsaWVudEdMaWJfMl8wLlNwaWNlQ2xpZW50R0xpYi5BdWRpb0NsYXNzLmh0bWwjcGFyZW50Q2xhc3MiLCJuYW1lIjoicGFyZW50Q2xhc3MiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGFzcyB0c2QtaXMtc3RhdGljIiwiaHJlZiI6IlNwaWNlQ2xpZW50R0xpYl8yXzAuU3BpY2VDbGllbnRHTGliLkF1ZGlvQ2xhc3MuaHRtbCNuYW1lIiwibmFtZSI6Im5hbWUiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuI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