mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-20 21:00:46 +01:00
CollectionWatcher: Make PerformEBUR128Analysis const
This commit is contained in:
parent
bb6daca735
commit
3d25863ccb
@ -941,7 +941,7 @@ void CollectionWatcher::AddChangedSong(const QString &file, const Song &matching
|
||||
|
||||
}
|
||||
|
||||
void CollectionWatcher::PerformEBUR128Analysis(Song &song) {
|
||||
void CollectionWatcher::PerformEBUR128Analysis(Song &song) const {
|
||||
|
||||
if (!song_ebur128_loudness_analysis_) return;
|
||||
|
||||
|
@ -199,7 +199,7 @@ class CollectionWatcher : public QObject {
|
||||
|
||||
static void AddChangedSong(const QString &file, const Song &matching_song, const Song &new_song, ScanTransaction *t);
|
||||
|
||||
void PerformEBUR128Analysis(Song &song);
|
||||
void PerformEBUR128Analysis(Song &song) const;
|
||||
|
||||
quint64 FilesCountForPath(ScanTransaction *t, const QString &path);
|
||||
quint64 FilesCountForSubdirs(ScanTransaction *t, const CollectionSubdirectoryList &subdirs, QMap<QString, quint64> &subdir_files_count);
|
||||
|
Loading…
Reference in New Issue
Block a user