summaryrefslogtreecommitdiffstats
path: root/firmware/export
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2022-01-11 13:56:46 +0000
committerAidan MacDonald <amachronic@protonmail.com>2022-01-16 19:17:25 -0500
commit15e3d37110f1674ec7d52c2f055ebfad1d77b5da (patch)
treee46b290421ece555aabdd3e807db94ab4b21fcdc /firmware/export
parent0fbaeed250fde8ad11cb9dbe8cc63667d269b5d2 (diff)
downloadrockbox-15e3d37110f1674ec7d52c2f055ebfad1d77b5da.tar.gz
rockbox-15e3d37110f1674ec7d52c2f055ebfad1d77b5da.zip
x1000: core PCM recording support
Change-Id: I71883272cc3bffadc1235b0931c3f42bb38e4c1e
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/x1000.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/export/x1000.h b/firmware/export/x1000.h
index 102d4ec978..de3d394c02 100644
--- a/firmware/export/x1000.h
+++ b/firmware/export/x1000.h
@@ -57,6 +57,11 @@
#define X1000_STACKSIZE 0x1e00
#define X1000_IRQSTACKSIZE 0x300
+/* Required for pcm_rec_dma_get_peak_buffer(), doesn't do anything
+ * except on targets with recording. */
+#define HAVE_PCM_DMA_ADDRESS
+#define HAVE_PCM_REC_DMA_ADDRESS
+
/* Convert kseg0 address to physical address or uncached address */
#define PHYSADDR(x) ((unsigned long)(x) & 0x1fffffff)
#define UNCACHEDADDR(x) (PHYSADDR(x) | 0xa0000000)