summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pcm/channel.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sound/pcm/channel.h')
-rw-r--r--sys/dev/sound/pcm/channel.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/sound/pcm/channel.h b/sys/dev/sound/pcm/channel.h
index 243c207..73c1b8c 100644
--- a/sys/dev/sound/pcm/channel.h
+++ b/sys/dev/sound/pcm/channel.h
@@ -49,8 +49,6 @@ int chn_getptr(pcm_channel *c);
pcmchan_caps *chn_getcaps(pcm_channel *c);
u_int32_t chn_getformats(pcm_channel *c);
-int chn_allocbuf(snd_dbuf *b, bus_dma_tag_t parent_dmat);
-void chn_freebuf(snd_dbuf *b);
void chn_resetbuf(pcm_channel *c);
void chn_intr(pcm_channel *c);
void chn_checkunderflow(pcm_channel *c);
@@ -60,9 +58,6 @@ int chn_abort(pcm_channel *c);
int fmtvalid(u_int32_t fmt, u_int32_t *fmtlist);
-void buf_isadma(snd_dbuf *b, int go);
-int buf_isadmaptr(snd_dbuf *b);
-
#define PCMDIR_PLAY 1
#define PCMDIR_REC -1
@@ -102,4 +97,6 @@ int buf_isadmaptr(snd_dbuf *b);
/* The size of a whole secondary buffer. */
#define CHN_2NDBUFMAXSIZE (131072)
+#define CHN_DEFAULT_HZ 50
+
#define CHANNEL_DECLARE(name) static DEFINE_CLASS(name, name ## _methods, sizeof(struct kobj))
OpenPOWER on IntegriCloud