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

SAK-45911 - Profile | Pronunciation recording clears other fields' data #11511

Merged
merged 4 commits into from
May 1, 2023

Conversation

jonespm
Copy link
Contributor

@jonespm jonespm commented Apr 30, 2023

This required a lot of research and trial/error but the end result actually seemed came out to be pretty simple.

It actually comes out to be about 300KB/second rather than 1MB/second so maybe the default should be 1/2 or even 1/3 the duration. I doubt anyone is going to increase this much beyond the max and maybe we don't even need another setting. I was thinking of just setting it to getNamePronunciationDuration()/2 MB.

What do you think?

I reworked it from the original commit and removed the specific configuration and just set it to be 500KB/sec.

@jonespm jonespm requested review from adrianfish and ern April 30, 2023 00:59
Copy link
Contributor

@adrianfish adrianfish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks Matt.

@adrianfish adrianfish merged commit 914d9c5 into sakaiproject:master May 1, 2023
ern pushed a commit that referenced this pull request May 2, 2023
…ta (#11511)

* SAK-45911 - Profile | Pronunciation recording clears other fields' data

* Changing to just use the value of duration

* Fixing paranthesis

* Setting ths size as a constant

(cherry picked from commit 914d9c5)
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.

2 participants