aboutsummaryrefslogtreecommitdiffstats
path: root/src/cw-example/audio.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cw-example/audio.h')
-rw-r--r--src/cw-example/audio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cw-example/audio.h b/src/cw-example/audio.h
index 31cb0fe..35f3f65 100644
--- a/src/cw-example/audio.h
+++ b/src/cw-example/audio.h
@@ -15,6 +15,9 @@ typedef void AudioCallbackFunction(void *context,int buffer);
#define Audio44100HzSettings 271,2,6,0
#define AudioVGAHSyncSettings 419,2,13,0 // 31475.3606. Actual VGA timer is 31472.4616.
+#define AUDIO_BUF_LEN 4096
+
+
// Initialize and power up audio hardware. Use the above defines for the parameters.
// Can probably only be called once.
void InitializeAudio(int plln,int pllr,int i2sdiv,int i2sodd);