Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/audio audio(4): Fix a typo in comment. Remove sever...
details: https://anonhg.NetBSD.org/src/rev/1fe2bb2c8e5c
branches: trunk
changeset: 365756:1fe2bb2c8e5c
user: isaki <isaki%NetBSD.org@localhost>
date: Sat Apr 23 11:44:01 2022 +0000
description:
audio(4): Fix a typo in comment. Remove several old comments.
diffstat:
sys/dev/audio/audio.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diffs (44 lines):
diff -r d5abba0f063e -r 1fe2bb2c8e5c sys/dev/audio/audio.c
--- a/sys/dev/audio/audio.c Sat Apr 23 11:30:57 2022 +0000
+++ b/sys/dev/audio/audio.c Sat Apr 23 11:44:01 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: audio.c,v 1.132 2022/04/23 11:30:57 isaki Exp $ */
+/* $NetBSD: audio.c,v 1.133 2022/04/23 11:44:01 isaki Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -181,7 +181,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.132 2022/04/23 11:30:57 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.133 2022/04/23 11:44:01 isaki Exp $");
#ifdef _KERNEL_OPT
#include "audio.h"
@@ -3160,7 +3160,6 @@
audio_exlock_exit(sc);
break;
}
- /* XXX TODO: update last_ai if /dev/sound ? */
if (ISDEVSOUND(dev))
error = audiogetinfo(sc, &sc->sc_ai, 0, file);
audio_exlock_exit(sc);
@@ -4514,7 +4513,7 @@
arg = &track->freq.arg;
arg->srcfmt = &srcbuf->fmt;
- arg->dstfmt = dstfmt;/*&last_dst->fmt;*/
+ arg->dstfmt = dstfmt;
arg->context = track;
*last_dstp = srcbuf;
@@ -4780,7 +4779,7 @@
/*
* On the recording track, expand the input stage buffer, which is
- * the closest buffer to rmixer, to NBLKOUT blocks.
+ * the closest buffer to rmixer, to NBLKIN blocks.
* Note that input buffer may point to outbuf.
*/
if (!is_playback) {
Home |
Main Index |
Thread Index |
Old Index