Category : multimedia

As Qt6.2 released, it seems that the multimedia module will come back and today i download qt6.2 but "qt += multimedia" still doesn’t work. How can i use the multimedia module or have an alternative to play a sound effect in c++? p.s. i’m using qt6.1 before. Source: Windows Que..

Read more

I’m writing an audio player using Microsoft Media Foundation. I wonder is it possible to change the playback device without re-creating the session? IMFActivate *m_p_sink_activate; … m_p_sink_activate->SetString(MF_AUDIO_RENDERER_ATTRIBUTE_ENDPOINT_ID, name_device); This doesn’t take effect if the audio is already being played. Btw, the media player provided by Microsoft.Windows.SDK.Contracts (Windows.Media.Playback.MediaPlayer) does it perfectly. When I change m_mediaPlayer.AudioDevice, the ..

Read more

I am calling joyGetDevCaps with a JOYCAPS variable and JOYCAPS.szPname always returns "Драйвер PC-джойстика Microsoft" (Microsoft PC-joystick driver), although in the Windows controller test thingy my controllers are labeled like "Gamepad F310 (Controller)" and etc. The other string members of the struct don’t seem to help. Searching Google didn’t do any good either. Any ideas? ..

Read more