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

QSoundEffect(pulseaudio): Error decoding source file:Grazy Dave.wav #3

Open
sunmin89 opened this issue Dec 4, 2024 · 0 comments
Open

Comments

@sunmin89
Copy link

sunmin89 commented Dec 4, 2024

qt 新手😀遇到一点小问题记录一下,希望能帮到需要的人

$ uname -a
Linux wsl 5.15.167.4-microsoft-standard-WSL2 #1 SMP Tue Nov 5 00:21:55 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

$ qmake --version
QMake version 3.1
Using Qt version 5.12.8 in /usr/lib/x86_64-linux-gnu

听说 qt 必须用 wav 格式音频资源,可以转换一下即可

ffmpeg -i Grazy Dave.mp3 -ac 1 -ar 32000 Grazy Dave.wav
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

No branches or pull requests

1 participant