summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2016-04-08 11:58:53 -0700
committerDave Kover <kover@cyngn.com>2016-04-08 23:44:15 +0000
commitbeb8f889baada364def3f34bc88b344f04ff065c (patch)
tree7db10a9dccb03610ea890dbb28d1915faa7af413 /res
parent93f88904e4324cc11d11f50ce3736723a38fcc72 (diff)
downloadandroid_packages_apps_AudioFX-beb8f889baada364def3f34bc88b344f04ff065c.tar.gz
android_packages_apps_AudioFX-beb8f889baada364def3f34bc88b344f04ff065c.tar.bz2
android_packages_apps_AudioFX-beb8f889baada364def3f34bc88b344f04ff065c.zip
audiofx: Add support for line out devices
* Kernel can report the output device as line-out if high impedance is detected. This is useful to support in AudioFX as a standalone device as the user probably won't want the same settings on their headphones vs. their car stereo. Change-Id: Ib77c66ecdb6ce7518253fa357959dd3317611602
Diffstat (limited to 'res')
-rw-r--r--res/drawable/ic_action_dsp_icons_lineout.xml29
-rw-r--r--res/values/cm_strings.xml2
2 files changed, 31 insertions, 0 deletions
diff --git a/res/drawable/ic_action_dsp_icons_lineout.xml b/res/drawable/ic_action_dsp_icons_lineout.xml
new file mode 100644
index 0000000..ab04210
--- /dev/null
+++ b/res/drawable/ic_action_dsp_icons_lineout.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (c) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="24dp"
+ android:height="24dp"
+ android:viewportWidth="24"
+ android:viewportHeight="24">
+
+ <path
+ android:fillColor="#CCFFFFFF"
+ android:pathData="M17 2H7c-1.1 0-2 .9-2 2v16c0 1.1 .9 1.99 2 1.99L17 22c1.1 0 2-.9
+2-2V4c0-1.1-.9-2-2-2zm-5 2c1.1 0 2 .9 2 2s-.9 2-2 2c-1.11 0-2-.9-2-2s.89-2
+2-2zm0 16c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3
+1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z" />
+</vector> \ No newline at end of file
diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml
index d22a7f0..1770f5c 100644
--- a/res/values/cm_strings.xml
+++ b/res/values/cm_strings.xml
@@ -54,6 +54,8 @@
<string name="device_usb">USB</string>
<string name="device_bluetooth">Bluetooth</string>
<string name="device_wireless">Wireless</string>
+ <string name="device_line_out">Line out</string>
+
<string name="reverb">Reverb</string>
<string name="eq_preset">Equalizer preset</string>