From 8a9e3c670ef47f7998305fe3afbd7adf63a67793 Mon Sep 17 00:00:00 2001 From: Jason Wright Date: Sun, 26 Jan 2003 21:25:40 +0000 Subject: Ok, playback more or less works, now for capture. (I forgot to save the pintr/parg) --- sys/arch/hppa/gsc/harmony.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sys/arch/hppa/gsc/harmony.c b/sys/arch/hppa/gsc/harmony.c index 66294788573..7be7678bf60 100644 --- a/sys/arch/hppa/gsc/harmony.c +++ b/sys/arch/hppa/gsc/harmony.c @@ -1,4 +1,4 @@ -/* $OpenBSD: harmony.c,v 1.2 2003/01/26 21:14:57 jason Exp $ */ +/* $OpenBSD: harmony.c,v 1.3 2003/01/26 21:25:39 jason Exp $ */ /* * Copyright (c) 2003 Jason L. Wright (jason@thought.net) @@ -912,7 +912,7 @@ harmony_get_props(void *vsc) int harmony_trigger_output(void *vsc, void *start, void *end, int blksize, - void (*intr)(void *), void *arg, struct audio_params *param) + void (*intr)(void *), void *intrarg, struct audio_params *param) { struct harmony_softc *sc = vsc; struct harmony_channel *c = &sc->sc_playback; @@ -927,6 +927,9 @@ harmony_trigger_output(void *vsc, void *start, void *end, int blksize, return (EINVAL); } + c->c_intr = intr; + c->c_intrarg = intrarg; + n = (caddr_t)end - (caddr_t)start; c->c_blksz = blksize; -- cgit v1.2.3