Study_Partner icon indicating copy to clipboard operation
Study_Partner copied to clipboard

Unexpected behavior while audio recording.

Open rishabhlingam opened this issue 4 years ago • 5 comments

study_patner-audio_record-SS

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:

  1. record audio.
  2. directly press the restart button.
  3. record the audio again.
  4. 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.

rishabhlingam avatar Mar 08 '21 17:03 rishabhlingam

Can you assign me this issue. I want to work on it, under GSSOC 21.

Starboww avatar Mar 13 '21 05:03 Starboww

Yes, @Starboww go ahead!!

ManasUniyal avatar Mar 13 '21 10:03 ManasUniyal

Hello, @Starboww have you made any progress on this issue?

krayong-work avatar Mar 16 '21 17:03 krayong-work

Github

I tried to search this image inside the res directory so the i can modify the method attached to it but i was't able to find it . can you help me with it

Starboww avatar Mar 16 '21 17:03 Starboww

The audio record feature currently uses a third party library. You can check it here

krayong-work avatar Mar 17 '21 06:03 krayong-work