Audio Recording module

Implements an Audio bus effect that outputs the audio from the bus into a wav file

Now channels audio recording into an AudioStreamSample instead of saving to wav
This commit is contained in:
Gustav Lund
2018-01-18 16:03:53 +01:00
parent 8c9e10553c
commit cd2070c684
9 changed files with 485 additions and 117 deletions

View File

@@ -509,6 +509,10 @@ PoolVector<uint8_t> AudioStreamSample::get_data() const {
return pv;
}
void AudioStreamSample::save_to_wav(String p_path) {
// TODO! Implement saving to wav file
}
Ref<AudioStreamPlayback> AudioStreamSample::instance_playback() {
Ref<AudioStreamPlaybackSample> sample;