AudioEffectRecord¶
Inherits: AudioEffect < Resource < Reference < Object
Audio effect used for recording sound from a microphone.
Tutorials¶
Methods¶
AudioStreamSample | get_recording ( ) const |
bool | is_recording_active ( ) const |
void | set_recording_active ( bool record ) |
Property Descriptions¶
- Format format
Default | 1 |
Setter | set_format(value) |
Getter | get_format() |
Specifies the format in which the sample will be recorded. See Format for available formats.
Method Descriptions¶
- AudioStreamSample get_recording ( ) const
Returns the recorded sample.
- bool is_recording_active ( ) const
Returns whether the recording is active or not.
- void set_recording_active ( bool record )
If true
, the sound will be recorded. Note that restarting the recording will remove the previously recorded sample.