Replace manual option handling by use of glib
[lcid-xwax.git] / oss.h
blob94cb39478891040fa3f2a626e9e3ac5e2ee9a97b
1 /*
2 * Copyright (C) 2008 Mark Hills <mark@pogo.org.uk>
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * version 2, as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * General Public License version 2 for more details.
13 * You should have received a copy of the GNU General Public License
14 * version 2 along with this program; if not, write to the Free
15 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
16 * MA 02110-1301, USA.
20 #ifndef OSS_H
21 #define OSS_H
23 #include <glib.h>
24 #include "device.h"
26 GOptionGroup* get_oss_option_group();
28 int oss_init(struct device_t *dv, const char *filename,
29 unsigned short buffers, unsigned short fragment);
31 #endif