Ah, I thought that by 'sent correctly', you meant everything was working as
expected, sorry. But I just noticed you're trying to play an ogg file.  Why
happens if you try playing an mp3 file? Ogg should be supported (
https://doc-snapshots.qt.io/qt6-6.2/qmediaformat.html#FileFormat-enum), but
perhaps ogg support is buggy in the current version of Qt...

Peter

On Tue, Feb 7, 2023 at 1:56 PM Adam M <[email protected]> wrote:

> The audio is sent correctly, as can be seen in the output log. However,
> there's still no sound being played. And frankly I don't know why :-/
>
> On Sunday, February 5, 2023 at 5:46:52 PM UTC+1 Peter Bienstman wrote:
>
>> As for audio, I didn't change anything, only added debug output. But glad
>> it's solved!
>>
>> Thanks again for reporting the issues you have, I rely on bug reports
>> like these!
>>
>> Peter
>>
>>
>> On Sun, 5 Feb 2023, 16:09 Adam M, <[email protected]> wrote:
>>
>>> Audio is sent correctly, to the speakers. Here's the output.
>>>
>>> PS C:\Program Files (x86)\Mnemosyne> .\Mnemosyne.exe
>>> qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
>>> qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
>>> qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
>>> qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
>>> qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
>>> qt.webenginecontext:
>>>
>>> GL Type: desktop
>>> Surface Type: OpenGL
>>> Surface Profile: CompatibilityProfile
>>> Surface Version: 4.6
>>> QSG RHI Backend: OpenGL
>>> Using Supported QSG Backend: yes
>>> Using Software Dynamic GL: no
>>> Using Multithreaded OpenGL: yes
>>>
>>> Init Parameters:
>>>   *  application-name Mnemosyne
>>>   *  browser-subprocess-path C:\Program Files
>>> (x86)\Mnemosyne\PyQt6\Qt6\bin\QtWebEngineProcess.exe
>>>   *  create-default-gl-context
>>>   *  disable-es3-gl-context
>>>   *  disable-features
>>> ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture
>>>   *  disable-speech-api
>>>   *  enable-features NetworkServiceInProcess,TracingServiceInProcess
>>>   *  enable-threaded-compositing
>>>   *  in-process-gpu
>>>   *  use-gl desktop
>>>
>>> Initialising mediaplayer
>>> Available devices:
>>>    Speakers (Realtek(R) Audio)
>>> Selected audio output: Speakers (Realtek(R) Audio)
>>> Volume: 1.0
>>> Muted: False
>>> Starting to play
>>> file:///C:/Users/Adam/AppData/Roaming/Mnemosyne/default.db_media/Pat-pato
>>> 2_1.ogg
>>> b'Waiting for uploader thread to stop...'
>>> b'Done!'
>>> PS C:\Program Files (x86)\Mnemosyne>
>>>
>>> Ah. Bug in the QT, good to know!
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"mnemosyne-proj-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mnemosyne-proj-users/CAMdxoPGEnFEP97AGr1ULkBXNoj8yc06fVMzACiFvnMkbz1W9FQ%40mail.gmail.com.

Reply via email to