mirror of
https://github.com/kevin-DL/vue-audio-recorder.git
synced 2026-01-20 06:25:12 +00:00
Add bitRate & sampleRate
This commit is contained in:
@@ -260,6 +260,9 @@
|
||||
attempts : { type: Number },
|
||||
time : { type: Number },
|
||||
|
||||
bitRate : { type: Number, default: 128 },
|
||||
sampleRate : { type: Number, default: 44100 },
|
||||
|
||||
showDownloadButton : { type: Boolean, default: true },
|
||||
showUploadButton : { type: Boolean, default: true },
|
||||
|
||||
@@ -343,7 +346,9 @@
|
||||
beforeRecording : this.beforeRecording,
|
||||
afterRecording : this.afterRecording,
|
||||
pauseRecording : this.pauseRecording,
|
||||
micFailed : this.micFailed
|
||||
micFailed : this.micFailed,
|
||||
bitRate : this.bitRate,
|
||||
sampleRate : this.sampleRate
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user