Skip to content
Snippets Groups Projects
Commit 8b81ef31 authored by Karishma Chadha's avatar Karishma Chadha
Browse files

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

parent f07eb161
No related branches found
No related tags found
No related merge requests found
......@@ -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}`
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment