Page 1 of 1

Mute sound without GlobalCEFApp

Posted: Thu Apr 11, 2024 8:05 pm
by thefunkyjoint
I know i can mute audio by using

GlobalCEFApp.MuteAudio := true

But this is before calling GlobalCEFApp.StartMainProcess.

Is there a way to mute the audio after you already called GlobalCEFApp.StartMainProcess, without having to recreate your browsers ?

Re: Mute sound without GlobalCEFApp

Posted: Fri Apr 12, 2024 9:08 am
by salvadordf
Use TChromiumCore.ToggleAudioMuted or set the TChromiumCore.AudioMuted property.

The MiniBrowser demo uses them.

Re: Mute sound without GlobalCEFApp

Posted: Mon Apr 22, 2024 7:02 pm
by thefunkyjoint
Thanks, it worked ! :D