aboutsummaryrefslogtreecommitdiffstats
path: root/core/device.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2021-10-23 07:51:06 -0700
committerChris Robinson <[email protected]>2021-10-23 07:51:06 -0700
commitd0e5e138e279f40f92b7d41d885695a206ec36c0 (patch)
tree5edc0e4bd84ad92d6722cb140d347860180a6ff0 /core/device.h
parent0e93fc53f4cf5bdc749a23a46573d690b2f1c443 (diff)
Use a flag to indicate headphone-like output
Diffstat (limited to 'core/device.h')
-rw-r--r--core/device.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/device.h b/core/device.h
index 0ffc05c4..5e2a3bfd 100644
--- a/core/device.h
+++ b/core/device.h
@@ -121,6 +121,10 @@ enum {
// Specifies if the device is currently running
DeviceRunning,
+ // Specifies if the output plays directly on/in ears (headphones, headset,
+ // ear buds, etc).
+ DirectEar,
+
DeviceFlagsCount
};
@@ -139,7 +143,6 @@ struct DeviceBase {
DevFmtChannels FmtChans{};
DevFmtType FmtType{};
- bool IsHeadphones{false};
uint mAmbiOrder{0};
float mXOverFreq{400.0f};
/* For DevFmtAmbi* output only, specifies the channel order and