aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristos Margiolis <christos@FreeBSD.org>2026-04-18 11:30:20 +0000
committerChristos Margiolis <christos@FreeBSD.org>2026-04-18 11:30:20 +0000
commitec077230fd941336c37f8bfdce3bb3e4c9d809b4 (patch)
treefb9552b59ee8c970b788bbbc6fa55334b7146f4f
parent602249f033d146d9c731d8b1cb4b2e0899c61ad9 (diff)
Revert "sound: Remove some forward declarations from sound.h and uaudio.h"
This reverts commit 602249f033d146d9c731d8b1cb4b2e0899c61ad9.
-rw-r--r--sys/dev/sound/pcm/sound.h5
-rw-r--r--sys/dev/sound/usb/uaudio.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/sound/pcm/sound.h b/sys/dev/sound/pcm/sound.h
index 56ef6af8e546..de9af6bd5324 100644
--- a/sys/dev/sound/pcm/sound.h
+++ b/sys/dev/sound/pcm/sound.h
@@ -75,12 +75,15 @@
#include <sys/mutex.h>
#include <sys/condvar.h>
+struct pcm_channel;
+struct pcm_feeder;
+struct snd_dbuf;
struct snd_mixer;
+#include <dev/sound/pcm/buffer.h>
#include <dev/sound/pcm/matrix.h>
#include <dev/sound/pcm/channel.h>
#include <dev/sound/pcm/feeder.h>
-#include <dev/sound/pcm/buffer.h>
#include <dev/sound/pcm/mixer.h>
#include <dev/sound/pcm/dsp.h>
diff --git a/sys/dev/sound/usb/uaudio.h b/sys/dev/sound/usb/uaudio.h
index 05858473eb00..54b31a4e7bd2 100644
--- a/sys/dev/sound/usb/uaudio.h
+++ b/sys/dev/sound/usb/uaudio.h
@@ -33,7 +33,9 @@
struct uaudio_chan;
struct uaudio_softc;
+struct snd_dbuf;
struct snd_mixer;
+struct pcm_channel;
extern int uaudio_attach_sub(device_t dev, kobj_class_t mixer_class,
kobj_class_t chan_class);