SpiceClientGLib.RecordChannel¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
Virtual Methods¶
- Inherited:
|
|
|
|
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
Mute |
||
r/w |
Number of Channels |
||
r/w |
Record volume |
Signals¶
- Inherited:
Name |
Short Description |
---|---|
Notify when the recording should start, and provide audio format characteristics. |
|
Notify when the recording should stop. |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class SpiceClientGLib.RecordChannel(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The
SpiceClientGLib.RecordChannel
struct is opaque and should not be accessed directly.- send_data(data, bytes, time)¶
- Parameters:
Send recorded PCM data to the guest.
New in version 0.35.
- do_record_start(format, channels, freq) virtual¶
- do_record_stop() virtual¶
Signal Details¶
- SpiceClientGLib.RecordChannel.signals.record_start(record_channel, format, channels, rate)¶
- Signal Name:
record-start
- Flags:
- Parameters:
record_channel (
SpiceClientGLib.RecordChannel
) – The object which received the signalformat (
int
) – a #SPICE_AUDIO_FMTchannels (
int
) – number of channelsrate (
int
) – audio rate
Notify when the recording should start, and provide audio format characteristics.
- SpiceClientGLib.RecordChannel.signals.record_stop(record_channel)¶
- Signal Name:
record-stop
- Flags:
- Parameters:
record_channel (
SpiceClientGLib.RecordChannel
) – The object which received the signal
Notify when the recording should stop.
Property Details¶
- SpiceClientGLib.RecordChannel.props.mute¶
-
Mute
- SpiceClientGLib.RecordChannel.props.nchannels¶
-
Number of Channels