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
GJS 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
, main_channel
:
MainChannel
, callback
:
AsyncReadyCallback
)
:
void
Parameters
audio:
SpiceClientGLib
.
Audio
cancellable:
Gio
.
Cancellable
main_channel:
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
, main_channel
:
MainChannel
, callback
:
AsyncReadyCallback
)
:
void
Parameters
audio:
SpiceClientGLib
.
Audio
cancellable:
Gio
.
Cancellable
main_channel:
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:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJTcGljZUNsaWVudEdMaWJfMl8wLlNwaWNlQ2xpZW50R0xpYi5BdWRpb0NsYXNzLmh0bWwjY29uc3RydWN0b3IiLCJuYW1lIjoiY29uc3RydWN0b3IiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJTcGljZUNsaWVudEdMaWJfMl8wLlNwaWNlQ2xpZW50R0xpYi5BdWRpb0NsYXNzLmh0bWwjcGFyZW50X2NsYXNzIiwibmFtZSI6InBhcmVudF9jbGFzcyIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtcHJvcGVydHkgdHNkLXBhcmVudC1raW5kLWNsYXNzIHRzZC1pcy1zdGF0aWMiLCJocmVmIjoiU3BpY2VDbGllbnRHTGliXzJfMC5TcGljZUNsaWVudEdMaWIuQXVkaW9DbGFzcy5odG1sI25hbWUiLCJuYW1lIjoibmFtZSIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0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