Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix audio processing when saving #114

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

Myzel394
Copy link
Owner

@Myzel394 Myzel394 commented Aug 5, 2024

Related to #112

Update the saveRecording function in RecorderEventsHandler.kt to handle the case where there is only one batch and skip processing.

  • Add a check to see if there is only one batch and skip concatenation if true.
  • Modify the saveRecording function to use the single batch file path if there is only one batch.
  • Update the saveAudioFile and saveVideoFile calls to use the single batch file path if there is only one batch.

For more details, open the Copilot Workspace session.

Related to #112

Update the `saveRecording` function in `RecorderEventsHandler.kt` to handle the case where there is only one batch and skip processing.

* Add a check to see if there is only one batch and skip concatenation if true.
* Modify the `saveRecording` function to use the single batch file path if there is only one batch.
* Update the `saveAudioFile` and `saveVideoFile` calls to use the single batch file path if there is only one batch.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/Myzel394/Alibi/issues/112?shareId=XXXX-XXXX-XXXX-XXXX).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant