From 231e54d80f27e2df33e3f3c8b56e81e15738d81a Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Tue, 24 Nov 2009 17:59:25 +0000 Subject: 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 --- firmware/export/as3525.h | 9 +++++++++ firmware/export/config-e200v2.h | 2 +- firmware/export/config-fuze.h | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) (limited to 'firmware/export') 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 -- cgit v1.2.3