OSDN Git Service

Updated copyright year.
[mutilities/MUtilities.git] / include / MUtils / Sound.h
index 7895d11..8c78d71 100644 (file)
@@ -1,6 +1,6 @@
 ///////////////////////////////////////////////////////////////////////////////
 // MuldeR's Utilities for Qt
-// Copyright (C) 2004-2014 LoRd_MuldeR <MuldeR2@GMX.de>
+// Copyright (C) 2004-2022 LoRd_MuldeR <MuldeR2@GMX.de>
 //
 // 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);
        }
 }