How to disable audio in EA ?

 

hello my friends.

is there a way for my to enable and disable audio (the sound of the errors and alerts) from the extern part of my EA in MQL4 ?

I tried the "bool PlaySound()" , so i can turn it on and off with "true and false". but it dose not work.

any ideas?