summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2010-09-24 22:42:06 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2010-09-24 22:42:06 +0000
commit6a9cabc4349238c6c7fddb9828b4c5f3f8099277 (patch)
tree963173fa83d757a5300e8e23d50b1f9b9b3bd69b /firmware/export
parent8458fade581d457de6455b95c84eb85a7a27f97d (diff)
downloadrockbox-6a9cabc4349238c6c7fddb9828b4c5f3f8099277.zip
rockbox-6a9cabc4349238c6c7fddb9828b4c5f3f8099277.tar.gz
rockbox-6a9cabc4349238c6c7fddb9828b4c5f3f8099277.tar.bz2
rockbox-6a9cabc4349238c6c7fddb9828b4c5f3f8099277.tar.xz
Implement lineout en-/disable for WM8975 and activate it for iPod nano 2G.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28159 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/config/ipodnano2g.h3
-rw-r--r--firmware/export/wm8975.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/config/ipodnano2g.h b/firmware/export/config/ipodnano2g.h
index a4189b3..898871d 100644
--- a/firmware/export/config/ipodnano2g.h
+++ b/firmware/export/config/ipodnano2g.h
@@ -219,6 +219,9 @@
//#define IPOD_ACCESSORY_PROTOCOL
//#define HAVE_SERIAL
+/* Define this, if you can switch on/off the lineout */
+#define HAVE_LINEOUT_POWEROFF
+
#define USB_WRITE_BUFFER_SIZE (1024*64)
/* Define this if a programmable hotkey is mapped */
diff --git a/firmware/export/wm8975.h b/firmware/export/wm8975.h
index 5524d2e..8c3cf47 100644
--- a/firmware/export/wm8975.h
+++ b/firmware/export/wm8975.h
@@ -32,6 +32,7 @@ extern int tenthdb2master(int db);
extern void audiohw_set_master_vol(int vol_l, int vol_r);
extern void audiohw_set_lineout_vol(int vol_l, int vol_r);
+extern void audiohw_enable_lineout(bool enable);
/* Register addresses and bits */