diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2009-11-24 17:59:25 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2009-11-24 17:59:25 +0000 |
commit | 231e54d80f27e2df33e3f3c8b56e81e15738d81a (patch) | |
tree | ba379976493670894db4356a22feb9850ca013ee /firmware/export | |
parent | cb9dff0a95cc98d83d6e1445c20bdad53614fe00 (diff) | |
download | rockbox-231e54d80f27e2df33e3f3c8b56e81e15738d81a.tar.gz rockbox-231e54d80f27e2df33e3f3c8b56e81e15738d81a.zip |
Sansa AMS : fix recording
Flyspray: FS#10371
Authors: Fred Bauer and myself
Only enabled on e200v2 and Fuze (crashes on clipv1)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23739 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/as3525.h | 9 | ||||
-rw-r--r-- | firmware/export/config-e200v2.h | 2 | ||||
-rw-r--r-- | firmware/export/config-fuze.h | 2 |
3 files changed, 11 insertions, 2 deletions
diff --git a/firmware/export/as3525.h b/firmware/export/as3525.h index 07f78dafcf..d23bc2b0c8 100644 --- a/firmware/export/as3525.h +++ b/firmware/export/as3525.h @@ -517,5 +517,14 @@ interface */ #define I2SIN_DATA (volatile unsigned long*)(I2SIN_BASE+0x14) #define I2SIN_SPDIF_STATUS (*(volatile unsigned long*)(I2SIN_BASE+0x18)) +/* I2SIN_MASK */ + +#define I2SIN_MASK_PUER ( 1<<6 ) /* push error */ +#define I2SIN_MASK_POE ( 1<<5 ) /* empty */ +#define I2SIN_MASK_POAE ( 1<<4 ) /* almost empty */ +#define I2SIN_MASK_POHF ( 1<<3 ) /* half full */ +#define I2SIN_MASK_POAF ( 1<<2 ) /* almost full */ +#define I2SIN_MASK_POF ( 1<<1 ) /* full */ +#define I2SIN_MASK_POER ( 1<<0 ) /* pop error */ #endif /*__AS3525_H__*/ diff --git a/firmware/export/config-e200v2.h b/firmware/export/config-e200v2.h index d42f28ac2f..110555aec5 100644 --- a/firmware/export/config-e200v2.h +++ b/firmware/export/config-e200v2.h @@ -10,7 +10,7 @@ #define HW_SAMPR_CAPS SAMPR_CAP_ALL /* define this if you have recording possibility */ -//#define HAVE_RECORDING +#define HAVE_RECORDING #define REC_SAMPR_CAPS SAMPR_CAP_ALL diff --git a/firmware/export/config-fuze.h b/firmware/export/config-fuze.h index cc6669af39..4370aef42e 100644 --- a/firmware/export/config-fuze.h +++ b/firmware/export/config-fuze.h @@ -10,7 +10,7 @@ #define HW_SAMPR_CAPS SAMPR_CAP_ALL /* define this if you have recording possibility */ -//#define HAVE_RECORDING +#define HAVE_RECORDING #define REC_SAMPR_CAPS SAMPR_CAP_ALL |