Make AddMouseRegion's index unsigned
[dockapps.git] / wmix / include / misc.h
blob0ad4d8710b04f8f00cfa3f636b187fb79260154c
1 /* WMix 3.0 -- a mixer using the OSS mixer API.
2 * Copyright (C) 2000, 2001
3 * Daniel Richard G. <skunk@mit.edu>,
4 * timecop <timecop@japan.co.jp>
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.
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.
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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 void lr_to_vb (float left, float right, float *volume, float *balance);
22 void vb_to_lr (float volume, float balance, float *left, float *right);
23 double get_current_time(void);
24 void add_region (int index, int x, int y, int width, int height);
25 int check_region (int x, int y);
26 void create_pid_file (void);