X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=include%2FMUtils%2FSound.h;h=8c78d71686697777daa7f01c20c7ef4905b639ac;hb=49e64e2542cdc7de5bc027358bb0525747d8e9b8;hp=7895d1174d8f090ae996463a05d29d0f3f3c7b79;hpb=73521c7f980117233633d8ccd6b0afd8d7fce6d6;p=mutilities%2FMUtilities.git diff --git a/include/MUtils/Sound.h b/include/MUtils/Sound.h index 7895d11..8c78d71 100644 --- a/include/MUtils/Sound.h +++ b/include/MUtils/Sound.h @@ -1,6 +1,6 @@ /////////////////////////////////////////////////////////////////////////////// // MuldeR's Utilities for Qt -// Copyright (C) 2004-2014 LoRd_MuldeR +// Copyright (C) 2004-2022 LoRd_MuldeR // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -38,16 +38,16 @@ namespace MUtils }; //Simple beep - MUTILS_API bool beep(beep_t beepType); + MUTILS_API bool beep(const beep_t &beepType); //Play built-in sound by name - MUTILS_API bool play_sound(const QString &name, const bool bAsync); + MUTILS_API bool play_sound(const QString &name, const bool &bAsync); //Play system sound by name - MUTILS_API bool play_system_sound(const QString &alias, const bool bAsync); + MUTILS_API bool play_system_sound(const QString &alias, const bool &bAsync); //Play sound from file - MUTILS_API bool play_sound_file(const QString &library, const unsigned short uiSoundIdx); + MUTILS_API bool play_sound_file(const QString &library, const unsigned short uiSoundIdx, const bool &bAsync); } }