|
Revision 472, 1.2 kB
(checked in by kickback, 5 years ago)
|
move driver tdb keys into driver struct. allows unique settings
|
- Property svn:eol-style set to
native
- Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 |
/* |
|---|
| 2 |
* Sweep, a sound wave editor. |
|---|
| 3 |
* |
|---|
| 4 |
* Copyright (C) 2000 Conrad Parker |
|---|
| 5 |
* |
|---|
| 6 |
* This program is free software; you can redistribute it and/or modify |
|---|
| 7 |
* it under the terms of the GNU General Public License as published by |
|---|
| 8 |
* the Free Software Foundation; either version 2 of the License, or |
|---|
| 9 |
* (at your option) any later version. |
|---|
| 10 |
* |
|---|
| 11 |
* This program is distributed in the hope that it will be useful, |
|---|
| 12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 14 |
* GNU General Public License for more details. |
|---|
| 15 |
* |
|---|
| 16 |
* You should have received a copy of the GNU General Public License |
|---|
| 17 |
* along with this program; if not, write to the Free Software |
|---|
| 18 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|---|
| 19 |
*/ |
|---|
| 20 |
|
|---|
| 21 |
#ifndef __PCMIO_H__ |
|---|
| 22 |
#define __PCMIO_H__ |
|---|
| 23 |
|
|---|
| 24 |
#include <glib.h> |
|---|
| 25 |
|
|---|
| 26 |
#define USE_MONITOR_KEY "UseMonitor" |
|---|
| 27 |
|
|---|
| 28 |
#define DEFAULT_LOG_FRAGS 6 |
|---|
| 29 |
#define LOG_FRAGS_MIN 1 |
|---|
| 30 |
#define LOG_FRAGS_MAX 10 |
|---|
| 31 |
|
|---|
| 32 |
#define DEFAULT_USE_MONITOR FALSE |
|---|
| 33 |
|
|---|
| 34 |
#define LOGFRAGS_TO_FRAGS(l) (1 << ((int)(floor((l)) - 1))) |
|---|
| 35 |
|
|---|
| 36 |
char * |
|---|
| 37 |
pcmio_get_main_dev (void); |
|---|
| 38 |
|
|---|
| 39 |
char * |
|---|
| 40 |
pcmio_get_monitor_dev (void); |
|---|
| 41 |
|
|---|
| 42 |
gboolean |
|---|
| 43 |
pcmio_get_use_monitor (void); |
|---|
| 44 |
|
|---|
| 45 |
int |
|---|
| 46 |
pcmio_get_log_frags (void); |
|---|
| 47 |
|
|---|
| 48 |
|
|---|
| 49 |
#endif /* __PCMIO_H__ */ |
|---|