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 */ | |||
517 | #define I2SIN_DATA (volatile unsigned long*)(I2SIN_BASE+0x14) | 517 | #define I2SIN_DATA (volatile unsigned long*)(I2SIN_BASE+0x14) |
518 | #define I2SIN_SPDIF_STATUS (*(volatile unsigned long*)(I2SIN_BASE+0x18)) | 518 | #define I2SIN_SPDIF_STATUS (*(volatile unsigned long*)(I2SIN_BASE+0x18)) |
519 | 519 | ||
520 | /* I2SIN_MASK */ | ||
521 | |||
522 | #define I2SIN_MASK_PUER ( 1<<6 ) /* push error */ | ||
523 | #define I2SIN_MASK_POE ( 1<<5 ) /* empty */ | ||
524 | #define I2SIN_MASK_POAE ( 1<<4 ) /* almost empty */ | ||
525 | #define I2SIN_MASK_POHF ( 1<<3 ) /* half full */ | ||
526 | #define I2SIN_MASK_POAF ( 1<<2 ) /* almost full */ | ||
527 | #define I2SIN_MASK_POF ( 1<<1 ) /* full */ | ||
528 | #define I2SIN_MASK_POER ( 1<<0 ) /* pop error */ | ||
520 | 529 | ||
521 | #endif /*__AS3525_H__*/ | 530 | #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 @@ | |||
10 | #define HW_SAMPR_CAPS SAMPR_CAP_ALL | 10 | #define HW_SAMPR_CAPS SAMPR_CAP_ALL |
11 | 11 | ||
12 | /* define this if you have recording possibility */ | 12 | /* define this if you have recording possibility */ |
13 | //#define HAVE_RECORDING | 13 | #define HAVE_RECORDING |
14 | 14 | ||
15 | #define REC_SAMPR_CAPS SAMPR_CAP_ALL | 15 | #define REC_SAMPR_CAPS SAMPR_CAP_ALL |
16 | 16 | ||
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 @@ | |||
10 | #define HW_SAMPR_CAPS SAMPR_CAP_ALL | 10 | #define HW_SAMPR_CAPS SAMPR_CAP_ALL |
11 | 11 | ||
12 | /* define this if you have recording possibility */ | 12 | /* define this if you have recording possibility */ |
13 | //#define HAVE_RECORDING | 13 | #define HAVE_RECORDING |
14 | 14 | ||
15 | #define REC_SAMPR_CAPS SAMPR_CAP_ALL | 15 | #define REC_SAMPR_CAPS SAMPR_CAP_ALL |
16 | 16 | ||