SDK constants cleanup.

This commit is contained in:
casey langen 2020-01-25 21:45:07 -08:00
parent dbd46ce2d1
commit 874eec1086

View File

@ -70,30 +70,17 @@ namespace musik {
OutputBufferWritten = -1 OutputBufferWritten = -1
}; };
enum ChannelOrder {
ChannelNone = 0,
ChannelFrontLeft = 1,
ChannelFrontRight = 2,
ChannelFrontCenter = 4,
ChannelLowFrequency = 8,
ChannelBackLeft = 16,
ChannelBackRight = 32,
ChannelBackCenter = 64,
ChannelSideLeft = 128,
ChannelSideRight = 256
};
enum TimeChangeMode { enum TimeChangeMode {
TimeChangeSeek, TimeChangeSeek = 0,
TimeChangeScrub TimeChangeScrub = 1
}; };
enum PathType { enum PathType {
PathUserHome, PathUserHome = 0,
PathData, PathData = 1,
PathApplication, PathApplication = 2,
PathPlugins, PathPlugins = 3,
PathLibrary PathLibrary = 4
}; };
enum class Capability : int { enum class Capability : int {
@ -101,8 +88,8 @@ namespace musik {
}; };
enum ScanResult { enum ScanResult {
ScanCommit, ScanCommit = 1,
ScanRollback ScanRollback = 2
}; };
enum class ReplayGainMode : int { enum class ReplayGainMode : int {
@ -161,5 +148,5 @@ namespace musik {
static const char* ExternalId = "external_id"; static const char* ExternalId = "external_id";
} }
static const int SdkVersion = 17; static const int SdkVersion = 18;
} } } } } }