Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/dreamcast/dev/g2 Make aica_round_blocksize() always...
details: https://anonhg.NetBSD.org/src/rev/7f7a42a54200
branches: trunk
changeset: 758896:7f7a42a54200
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat Nov 20 16:12:23 2010 +0000
description:
Make aica_round_blocksize() always return a fixed buffer size.
I'm not sure if this is correct, but audio playback doesn't work
on dreamcast without this workaround. (since kent-audio1 merge?)
diffstat:
sys/arch/dreamcast/dev/g2/aica.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r a613d50c4e9c -r 7f7a42a54200 sys/arch/dreamcast/dev/g2/aica.c
--- a/sys/arch/dreamcast/dev/g2/aica.c Sat Nov 20 12:12:21 2010 +0000
+++ b/sys/arch/dreamcast/dev/g2/aica.c Sat Nov 20 16:12:23 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aica.c,v 1.18 2008/08/01 20:19:49 marcus Exp $ */
+/* $NetBSD: aica.c,v 1.19 2010/11/20 16:12:23 tsutsui Exp $ */
/*
* Copyright (c) 2003 SHIMIZU Ryo <ryo%misakimix.org@localhost>
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aica.c,v 1.18 2008/08/01 20:19:49 marcus Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aica.c,v 1.19 2010/11/20 16:12:23 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -479,6 +479,7 @@
int
aica_round_blocksize(void *addr, int blk, int mode, const audio_params_t *param)
{
+#if 0 /* XXX this has not worked since kent-audio1 merge? */
struct aica_softc *sc;
sc = addr;
@@ -505,6 +506,7 @@
break;
}
+#endif
return AICA_DMABUF_SIZE / 4;
}
Home |
Main Index |
Thread Index |
Old Index