Pass sample rate and sample count data to vm for recorded sounds.
This commit is contained in:
1 parent
f07eb16157
commit
8b81ef310a
1 file changed
+2
@@ -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}`
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user