From 7534dda3b69026df6dc40b3d907b825a0078617b Mon Sep 17 00:00:00 2001
From: chenlh <2008get@163.com>
Date: 星期四, 21 八月 2025 20:14:01 +0800
Subject: [PATCH] Signed-off-by: chenlh <2008get@163.com>
---
drv/board.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/drv/board.c b/drv/board.c
index c638f50..557156a 100644
--- a/drv/board.c
+++ b/drv/board.c
@@ -19,6 +19,9 @@
#include "linkport.h"
+unsigned int SAMPLE_RATE = 48000;
+unsigned int SAMPLE_NUM = 64;
+
void spu_config(void)
{
@@ -223,7 +226,7 @@
if(sports[i].interrupt) {
dma_install_interrupt(sports[i].spid);
}
- sport_config(get_sport_regs(sports[i].spid) , &sports[i]);
+ sport_config(get_sport_regs(sports[i].spid) , &sports[i], SAMPLE_NUM);
}
}
--
Gitblit v1.9.3