buffer.h (098ca2bda93c701c5331d4e6aace072495b4caaa) buffer.h (d55d96f61724d948b8232f933e0a93c5ba8aec6b)
1/*-
2 * Copyright (c) 1999 Cameron Grant <cg@freebsd.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 79 unchanged lines hidden (view full) ---

88void sndbuf_setblkcnt(struct snd_dbuf *b, unsigned int blkcnt);
89unsigned int sndbuf_getblksz(struct snd_dbuf *b);
90void sndbuf_setblksz(struct snd_dbuf *b, unsigned int blksz);
91unsigned int sndbuf_runsz(struct snd_dbuf *b);
92void sndbuf_setrun(struct snd_dbuf *b, int go);
93struct selinfo *sndbuf_getsel(struct snd_dbuf *b);
94
95unsigned int sndbuf_getxrun(struct snd_dbuf *b);
1/*-
2 * Copyright (c) 1999 Cameron Grant <cg@freebsd.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 79 unchanged lines hidden (view full) ---

88void sndbuf_setblkcnt(struct snd_dbuf *b, unsigned int blkcnt);
89unsigned int sndbuf_getblksz(struct snd_dbuf *b);
90void sndbuf_setblksz(struct snd_dbuf *b, unsigned int blksz);
91unsigned int sndbuf_runsz(struct snd_dbuf *b);
92void sndbuf_setrun(struct snd_dbuf *b, int go);
93struct selinfo *sndbuf_getsel(struct snd_dbuf *b);
94
95unsigned int sndbuf_getxrun(struct snd_dbuf *b);
96void sndbuf_setxrun(struct snd_dbuf *b, unsigned int cnt);
96void sndbuf_setxrun(struct snd_dbuf *b, unsigned int xrun);
97unsigned int sndbuf_gethwptr(struct snd_dbuf *b);
98void sndbuf_sethwptr(struct snd_dbuf *b, unsigned int ptr);
99unsigned int sndbuf_getfree(struct snd_dbuf *b);
100unsigned int sndbuf_getfreeptr(struct snd_dbuf *b);
101unsigned int sndbuf_getready(struct snd_dbuf *b);
102unsigned int sndbuf_getreadyptr(struct snd_dbuf *b);
103unsigned int sndbuf_getblocks(struct snd_dbuf *b);
104unsigned int sndbuf_getprevblocks(struct snd_dbuf *b);

--- 15 unchanged lines hidden ---
97unsigned int sndbuf_gethwptr(struct snd_dbuf *b);
98void sndbuf_sethwptr(struct snd_dbuf *b, unsigned int ptr);
99unsigned int sndbuf_getfree(struct snd_dbuf *b);
100unsigned int sndbuf_getfreeptr(struct snd_dbuf *b);
101unsigned int sndbuf_getready(struct snd_dbuf *b);
102unsigned int sndbuf_getreadyptr(struct snd_dbuf *b);
103unsigned int sndbuf_getblocks(struct snd_dbuf *b);
104unsigned int sndbuf_getprevblocks(struct snd_dbuf *b);

--- 15 unchanged lines hidden ---