summaryrefslogtreecommitdiffstats
path: root/src/sources/soundsourceprovider.cpp
blob: 244950b6e53ab316037328498c17977db445426a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include "sources/soundsourceprovider.h"

namespace mixxx {

QDebug operator<<(QDebug dbg, SoundSourceProviderPriority arg) {
    switch (arg) {
    case SoundSourceProviderPriority::Lowest:
        return dbg << static_cast<int>(arg) << "(lowest)";
    case SoundSourceProviderPriority::Lower:
        return dbg << static_cast<int>(arg) << "(lower)";
    case SoundSourceProviderPriority::Default:
        return dbg << static_cast<int>(arg) << "(default)";
    case SoundSourceProviderPriority::Higher:
        return dbg << static_cast<int>(arg) << "(higher)";
    case SoundSourceProviderPriority::Highest:
        return dbg << static_cast<int>(arg) << "(highest)";
    default:
        DEBUG_ASSERT(!"unexpected SoundSourceProviderPriority");
        return dbg;
    }
}

} // namespace mixxx