Module Name: src
Committed By: christos
Date: Sat Dec 10 22:37:12 UTC 2016
Modified Files:
src/sys/dev: audio.c
Log Message:
remove VAUDIOSPEAKER, needs to be done differently.
To generate a diff of this commit:
cvs rdiff -u -r1.274 -r1.275 src/sys/dev/audio.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/audio.c
diff -u src/sys/dev/audio.c:1.274 src/sys/dev/audio.c:1.275
--- src/sys/dev/audio.c:1.274 Sat Dec 10 12:31:33 2016
+++ src/sys/dev/audio.c Sat Dec 10 17:37:12 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: audio.c,v 1.274 2016/12/10 17:31:33 martin Exp $ */
+/* $NetBSD: audio.c,v 1.275 2016/12/10 22:37:12 christos Exp $ */
/*-
* Copyright (c) 2016 Nathanial Sloss <[email protected]>
@@ -148,7 +148,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.274 2016/12/10 17:31:33 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.275 2016/12/10 22:37:12 christos Exp $");
#include "audio.h"
#if NAUDIO > 0
@@ -179,9 +179,6 @@ __KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.
#include <dev/audiovar.h>
#include <dev/auconv.h>
#include <dev/auvolconv.h>
-#ifdef VAUDIOSPEAKER
-#include <dev/spkrvar.h>
-#endif
#include <machine/endian.h>
@@ -840,9 +837,6 @@ bad_rec:
audio_rec_thread, sc, &sc->sc_recthread, "audiorec");
kthread_create(PRI_NONE, KTHREAD_MPSAFE | KTHREAD_MUSTJOIN, NULL,
audio_play_thread, sc, &sc->sc_playthread, "audiomix");
-#ifdef VAUDIOSPEAKER
- speakerattach_mi(self);
-#endif
}
int