summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authormlelstv <mlelstv@NetBSD.org>2023-04-23 08:26:05 +0000
committermlelstv <mlelstv@NetBSD.org>2023-04-23 08:26:05 +0000
commit9508a5a46a6547df99f6f4cc17c4177786d157e8 (patch)
tree4ba6f7af5ce2d1c697db4a3895617182eb278901 /sys/dev
parent8d5c96c2733ceb3e67a538b0396880eebecf6df2 (diff)
Whitespace
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/audio/audio.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/sys/dev/audio/audio.c b/sys/dev/audio/audio.c
index b8fe0c92cb7..9e843e7aad8 100644
--- a/sys/dev/audio/audio.c
+++ b/sys/dev/audio/audio.c
@@ -1,4 +1,4 @@
-/* $NetBSD: audio.c,v 1.140 2023/04/23 08:05:36 mlelstv Exp $ */
+/* $NetBSD: audio.c,v 1.141 2023/04/23 08:26:05 mlelstv Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -181,7 +181,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.140 2023/04/23 08:05:36 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.141 2023/04/23 08:26:05 mlelstv Exp $");
#ifdef _KERNEL_OPT
#include "audio.h"
@@ -1186,7 +1186,7 @@ bad:
return;
}
- /*
+/*
* Identify audio backend device for drvctl.
*/
static int
@@ -6071,7 +6071,7 @@ audio_rmixer_process(struct audio_softc *sc)
tmpsrc.mem = mixer->mixsample;
tmpsrc.head = 0;
tmpsrc.used = 0;
-
+
/* ad-hoc codec */
codecarg.srcfmt = &mixer->hwbuf.fmt;
codecarg.dstfmt = &mixer->mixfmt;
@@ -6098,7 +6098,7 @@ audio_rmixer_process(struct audio_softc *sc)
TRACE(4, "unsupported hw format");
return;
}
-
+
codecarg.src = auring_headptr(&mixer->hwbuf);
codecarg.dst = auring_tailptr(&tmpsrc);
codecarg.count = count;
@@ -6108,9 +6108,8 @@ audio_rmixer_process(struct audio_softc *sc)
auring_take(&mixer->hwbuf, count);
auring_push(mixersrc, count);
-
+
TRACE(4, "distribute");
-
/* Distribute to all tracks. */
SLIST_FOREACH(f, &sc->sc_files, entry) {