Skip to content

Fix audio preview not playing (wrong file extension)#3

Merged
fkzys merged 1 commit intomainfrom
fix/tmp-extension
May 4, 2026
Merged

Fix audio preview not playing (wrong file extension)#3
fkzys merged 1 commit intomainfrom
fix/tmp-extension

Conversation

@fkzys
Copy link
Copy Markdown
Member

@fkzys fkzys commented May 4, 2026

Problem:
Audio preview didn't work because TempAudioFilename was hardcoded to .tmp instead of the actual audio format (mp3/opus).

Fix:

  • TempAudioFilename now uses correct extension based on AudioClips.AudioFormat

  • Extension updates when audio format changes in settings

Additional improvements:

  • Added proper error messages when ffmpeg fails

  • Better diagnostics for audio extraction failures

@fkzys fkzys merged commit b3b1096 into main May 4, 2026
2 checks passed
@fkzys fkzys deleted the fix/tmp-extension branch May 4, 2026 20:26
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