oops, that commit wasn't so clean
[hrr.git] / config_file.h
blob230da6210e60489f15d978b75f98eaf59177223d
1 /*
2 -----BEGIN PGP SIGNED MESSAGE-----
3 Hash: SHA1
5 m m mm mmm .----------. .---------------------. mmm mm m m
6 8 8 88 888 | .--------` | .------------------` 888 88 8 8
7 8 8 88 888 | ```````|`V```````| |``||``|`````| 888 88 8 8
8 8 8 88 888 `------ | | [] | |``````|| | [] | 888 88 8 8
9 8 8 88 888 |`````` | | | ````|```` | | 888 88 8 8
10 ` ` `` ``` ``````````````> |````````````| |`` ``` `` ` `
11 ==============` `---`
12 L A B O R A T O R I E S
14 This file is part of Hacker Radio Rec.
16 Hacker Radio Rec is free software: you can redistribute it and/or
17 modify it under the terms of the GNU General Public License as
18 published by the Free Software Foundation, either version 3 of
19 the License or (at your option) any later version.
21 Hacker Radio Rec is distributed in the hope that it will be
22 useful, but WITHOUT ANY WARRANTY; without even the implied
23 warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
24 See the GNU General Public License for more details.
26 Copyright (C) 2009, Thea DeSilva
27 You can find a copy of GNU General Public License in COPYING
29 #define SIGNED_16BIT 1
30 #define UNSIGNED_16BIT 2
31 #define SIGNED_8BIT 3
32 #define UNSIGNED_8BIT 4
34 typedef struct {
35 char path[MAX_CHARS];
36 Sint32 frequency;
37 Sint32 channels;
38 Sint32 format;
39 } audiodev_t;
41 extern struct config_t {
42 audiodev_t in,out;
43 Sint32 screen_w, screen_h;
44 Sint32 do_splash;
45 Sint32 fullscreen;
46 float start_scale;
47 } config_file;
50 extern Sint32 wocka;
52 Sint32 load_config(char *path);
54 void wocka_wocka(void);
55 void set_defaults();
57 Thank you for your attention
58 -----BEGIN PGP SIGNATURE-----
59 Version: GnuPG v1.4.9 (OpenBSD)
61 iEYEARECAAYFAkrsgwwACgkQMNO4A6bnBrNLWACfdjTO2nLaxcErKv7HAk5S3MwK
62 ockAnRtLcpf1F9zOksdXormULYs0zEAQ
63 =+GWY
64 -----END PGP SIGNATURE-----