Pass sample rate and sample count data to vm for recorded sounds.

This commit is contained in:
Karishma Chadha committed 2018-04-04 21:44:36 -04:00
1 parent f07eb16157
commit 8b81ef310a
1 file changed
+2
+2
View File
@@ -76,6 +76,8 @@ class RecordModal extends React.Component {
const vmSound = {
format: '',
dataFormat: 'wav',
rate: this.state.sampleRate,
sampleCount: clippedSamples.length,
name: `recording ${this.props.vm.editingTarget.sprite.sounds.length}`
};