We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16e21f9 commit 089be67Copy full SHA for 089be67
src/components/AudioRecorder.vue
@@ -71,14 +71,14 @@ export default {
71
const r = await AudioRecorder.stop();
72
};
73
74
- const startPlaying = () => {
75
- AudioRecorder.startPlaying({ fileName: filePath });
+ const startPlaying = async () => {
+ await AudioRecorder.startPlaying({ fileName: filePath });
76
77
78
- const stopPlaying = () => {
79
- AudioRecorder.stopPlaying();
+ const stopPlaying = async () => {
+ await AudioRecorder.stopPlaying();
80
81
- AudioRecorder.deleteRecording({ fileName: filePath });
+ await AudioRecorder.deleteRecording({ fileName: filePath });
82
83
84
return {
0 commit comments