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 Dreamcast audio only supports play...
details: https://anonhg.NetBSD.org/src/rev/3907a8aaa411
branches: trunk
changeset: 355326:3907a8aaa411
user: nat <nat%NetBSD.org@localhost>
date: Tue Jul 25 23:18:04 2017 +0000
description:
Dreamcast audio only supports playback so set it in the props.
This makes dreamcast audio work again.
Tested by Bjorn Johannesson.
cvs: ----------------------------------------------------------------------
diffstat:
sys/arch/dreamcast/dev/g2/aica.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 4241a06ad20e -r 3907a8aaa411 sys/arch/dreamcast/dev/g2/aica.c
--- a/sys/arch/dreamcast/dev/g2/aica.c Tue Jul 25 23:17:20 2017 +0000
+++ b/sys/arch/dreamcast/dev/g2/aica.c Tue Jul 25 23:18:04 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aica.c,v 1.22 2011/11/23 23:07:29 jmcneill Exp $ */
+/* $NetBSD: aica.c,v 1.23 2017/07/25 23:18:04 nat 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.22 2011/11/23 23:07:29 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aica.c,v 1.23 2017/07/25 23:18:04 nat Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -774,7 +774,7 @@
aica_get_props(void *addr)
{
- return 0;
+ return AUDIO_PROP_PLAYBACK;
}
void
Home |
Main Index |
Thread Index |
Old Index