1253544Shselasky/* $FreeBSD$ */
2253544Shselasky/*-
3253544Shselasky * Copyright (c) 2010 Hans Petter Selasky. All rights reserved.
4253544Shselasky *
5253544Shselasky * Redistribution and use in source and binary forms, with or without
6253544Shselasky * modification, are permitted provided that the following conditions
7253544Shselasky * are met:
8253544Shselasky * 1. Redistributions of source code must retain the above copyright
9253544Shselasky *    notice, this list of conditions and the following disclaimer.
10253544Shselasky * 2. Redistributions in binary form must reproduce the above copyright
11253544Shselasky *    notice, this list of conditions and the following disclaimer in the
12253544Shselasky *    documentation and/or other materials provided with the distribution.
13253544Shselasky *
14253544Shselasky * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15253544Shselasky * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16253544Shselasky * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17253544Shselasky * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18253544Shselasky * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19253544Shselasky * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20253544Shselasky * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21253544Shselasky * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22253544Shselasky * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23253544Shselasky * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24253544Shselasky * SUCH DAMAGE.
25253544Shselasky */
26253544Shselasky
27253544Shselasky#ifndef _G_AUDIO_H_
28253544Shselasky#define	_G_AUDIO_H_
29253544Shselasky
30253544Shselasky#define	G_AUDIO_MAX_STRLEN 32		/* chars */
31253544Shselasky#define	G_AUDIO_FRAMES 8
32253544Shselasky#define	G_AUDIO_BUFSIZE (G_AUDIO_FRAMES * 2 * 2 * 48)	/* units */
33253544Shselasky
34253544Shselasky#define	G_AUDIO_MODE_SILENT 0
35253544Shselasky#define	G_AUDIO_MODE_DUMP 1
36253544Shselasky#define	G_AUDIO_MODE_LOOP 2
37253544Shselasky#define	G_AUDIO_MODE_PATTERN 3
38253544Shselasky#define	G_AUDIO_MODE_MAX 4
39253544Shselasky
40253544Shselasky#endif					/* _G_AUDIO_H_ */
41