Merge pull request #31310 from SaracenOne/record_fix
Fix recording bus regression.
This commit is contained in:
commit
2e0525a161
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ Ref<AudioStreamSample> AudioEffectRecord::get_recording() const {
|
|||
PoolVector<uint8_t> dst_data;
|
||||
|
||||
ERR_FAIL_COND_V(current_instance.is_null(), NULL);
|
||||
ERR_FAIL_COND_V(current_instance->recording_data.size(), NULL);
|
||||
ERR_FAIL_COND_V(current_instance->recording_data.size() == 0, NULL);
|
||||
|
||||
if (dst_format == AudioStreamSample::FORMAT_8_BITS) {
|
||||
int data_size = current_instance->recording_data.size();
|
||||
|
|
Loading…
Reference in a new issue