
Assuming that
restart button restarts the entire audio recording from the beginning.
start/stop button starts and pauses the audio recording.
play button plays the audio recorded till now.
The Bug
The present recorded audio gets concatenated to the previously recorded audio after pressing the restart button.
Steps to reproduce the Bug:
- record audio.
- directly press the
restart button.
- record the audio again.
- press the
play button, you will hear the concatenated recording of both audios.
Expected behavior
Only the recent recorded audio should be played when the play button is pressed.
Additional context
This bug is produced only when you directly press restart and start recording again.
If the audio is played (play) after the first recording and then rerecorded, this bug is not reproduced.
Only the recent audio is played.
Assuming that
restartbutton restarts the entire audio recording from the beginning.start/stopbutton starts and pauses the audio recording.playbutton plays the audio recorded till now.The Bug
The present recorded audio gets concatenated to the previously recorded audio after pressing the
restartbutton.Steps to reproduce the Bug:
restartbutton.playbutton, you will hear the concatenated recording of both audios.Expected behavior
Only the recent recorded audio should be played when the
play buttonis pressed.Additional context
This bug is produced only when you directly press
restartand start recording again.If the audio is played (
play) after the first recording and then rerecorded, this bug is not reproduced.Only the recent audio is played.