playSoundFile() does not work in Windows 3.0 previews

Bug #1412713 reported by Vadim Peretokin
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Mudlet
Fix Released
Medium
Unassigned

Bug Description

playSoundFile() does not work in Windows 3.0 previews, works ok in 2.1 on Windows.

Works fine in Ubuntu.

Couldn't verify on OSX.

Revision history for this message
Stephen Lyons (slysven) wrote :

For reference: http://forums.mudlet.org/viewtopic.php?f=9&t=4688 probably sparked this bug report. As I said there sound support in 2.1 is based on Phonon system which is fairly well supported on multiple platforms but Qt 5 uses a Qt own system instead and Windows support - particularly for minGW on Windows builds is incomplete see http://qt-project.org/wiki/Qt_Multimedia and http://qt-project.org/wiki/Qt_Multimedia_Backends .

Revision history for this message
Vadim Peretokin (vperetokin) wrote :

That says DirectShow should be able to play sound.

Revision history for this message
Vadim Peretokin (vperetokin) wrote :

http://doc.qt.io/qt-5/audiooverview.html useful page, might or might not be relevant.

Revision history for this message
Jippen (cheetahmorph) wrote :

This is a pretty awful bug on windows - been annoying a lot of my friends by losing my mudlet window, and not getting the usual dings for chat sounds I have configured. Sound in a mud client is about as core of a requirement as color these days.

Revision history for this message
Chris Leacy (cleacy1972) wrote :

Thanks to dicene's work with making a dev compile on Windows, this has been solved.

Sound works in Windows 10 with the existing 3.0-delta build if the dll files are replaced with Qt 5.3.2 versions of them.

http://forums.mudlet.org/viewtopic.php?f=7&t=5675

Revision history for this message
Chris Leacy (cleacy1972) wrote :

Just a followup for you on this one - It wasn't replacing the dll files that fixed the problem.

The problem was that five required dll files were not included. No other changes are required. This has been tested with 3.0-delta and source compiles, both on vanilla win7 virtualboxes.

Located in the the \Qt\Qt5.3.2\5.3\mingw482_32\plugins directory, the below two directories need to be copied to the mudlet directory.

audio
mediaservice

Revision history for this message
Vadim Peretokin (vperetokin) wrote :

Fix committed by the way that compile instructions for Windows now include steps to copy in the necessary sound dll's: http://wiki.mudlet.org/w/Compiling_Mudlet#Compiling_on_Windows_10

Changed in mudlet:
status: Confirmed → Fix Committed
Changed in mudlet:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.