I need to mute the sound of a TChromium
component to make a silent browser. The main problem is on Windows XP where when I mute the sound of a browser, it mute the overall system sound.
Is there a way how to mute the sound of a TChromium
component ?
I have succeeded with the following code:
procedure CustomCommandLine (const processType: ustring; const commandLine: ICefCommandLine);
begin
commandLine.AppendSwitch('--mute-audio');
end;
begin
CefOnBeforeCommandLineProcessing := CustomCommandLine;
Application.Initialize;
Application.CreateForm(TMainForm, MainForm);
Application.Run;
end.
Other parameters: Examples
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With