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 AudioStreamWAV::save_to_wav adding extra '.wav' to file if existing ext is not lower case #98717

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

Conversation

nikitalita
Copy link
Contributor

@nikitalita nikitalita commented Nov 1, 2024

Fixes #98719

Pretty simple: if the file_path passed in contains an upper-case extension (e.g. ".WAV"), it would add an extra ".wav" on top of that. A simple .to_lower() fixes this.

@nikitalita nikitalita requested review from a team as code owners November 1, 2024 02:37
@fire fire changed the title fix AudioStreamWAV::save_to_wav adding extra '.wav' to file if existing ext is not lower case Fix AudioStreamWAV::save_to_wav adding extra '.wav' to file if existing ext is not lower case Nov 1, 2024
@AThousandShips AThousandShips added cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release labels Nov 1, 2024
@AThousandShips AThousandShips added this to the 4.4 milestone Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release topic:audio
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AudioStreamWAV::save_to_wav adding extra '.wav' to file if existing ext is not lower case
5 participants