aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sound/pcm/buffer.c
diff options
context:
space:
mode:
authorCameron Grant <cg@FreeBSD.org>2001-08-23 11:30:52 +0000
committerCameron Grant <cg@FreeBSD.org>2001-08-23 11:30:52 +0000
commit67b1dce3bc3270d9a50657cb9f0a7b269eb5379c (patch)
tree069cd9e58d47e13e77afc32cbb02b958a6dbc95e /sys/dev/sound/pcm/buffer.c
parentbb0871a73fdbd7daec62799eb9396b20d05d5ad8 (diff)
many changes:
* add new channels to the end of the list so channels used in order of addition * de-globalise definition of struct snddev_info and provide accessor functions where necessary. * move the $FreeBSD$ tag in each .c file into a macro and allow the /dev/sndstat handler to display these when set to maximum verbosity to aid debugging. * allow each device to register its own sndstat handler to reduce the amount of groping sndstat must do in foreign structs.
Notes
Notes: svn path=/head/; revision=82180
Diffstat (limited to 'sys/dev/sound/pcm/buffer.c')
-rw-r--r--sys/dev/sound/pcm/buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sound/pcm/buffer.c b/sys/dev/sound/pcm/buffer.c
index 3cdbf0a67677..e40c9fd4569a 100644
--- a/sys/dev/sound/pcm/buffer.c
+++ b/sys/dev/sound/pcm/buffer.c
@@ -22,14 +22,14 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $FreeBSD$
*/
#include <dev/sound/pcm/sound.h>
#include "feeder_if.h"
+SND_DECLARE_FILE("$FreeBSD$");
+
#define MIN(x, y) (((x) < (y))? (x) : (y))
#define SNDBUF_NAMELEN 48