1 |
|
/* |
2 |
|
* prefs.cpp - Preferences items |
3 |
|
* |
4 |
< |
* SIDPlayer (C) Copyright 1996-2000 Christian Bauer |
4 |
> |
* SIDPlayer (C) Copyright 1996-2003 Christian Bauer |
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 |
24 |
|
|
25 |
|
// List of preferences items |
26 |
|
prefs_desc common_prefs_items[] = { |
27 |
< |
{"victype", TYPE_STRING, false}, // Type number of VIC-II to emulate ("6569", "6567" or "6567R5") |
28 |
< |
{"sidtype", TYPE_STRING, false}, // Type number of SID to emulate ("6581" or "8580") |
29 |
< |
{"samplerate", TYPE_INT32, false}, // Audio sample rate in Hz |
30 |
< |
{"audio16bit", TYPE_BOOLEAN, false}, // 16-bit audio output? |
31 |
< |
{"stereo", TYPE_BOOLEAN, false}, // Stereo audio output? |
32 |
< |
{"filters", TYPE_BOOLEAN, false}, // Emulate SID filters? |
33 |
< |
{"dualsid", TYPE_BOOLEAN, false}, // Emulate 2 SID chips? |
34 |
< |
{"audioeffect", TYPE_INT32, false}, // Audio effect type (0 = none, 1 = reverb, 2 = spatial) |
35 |
< |
{"revdelay", TYPE_INT32, false}, // Reverb delay in ms |
36 |
< |
{"revfeedback", TYPE_INT32, false}, // Reverb feedback (0..0x100 = 0..100%) |
37 |
< |
{"volume", TYPE_INT32, false}, // Master volume (0..0x100 = 0..100%) |
38 |
< |
{"v1volume", TYPE_INT32, false}, // Volume voice 1 (0..0x100 = 0..100%) |
39 |
< |
{"v2volume", TYPE_INT32, false}, // Volume voice 2 (0..0x100 = 0..100%) |
40 |
< |
{"v3volume", TYPE_INT32, false}, // Volume voice 3 (0..0x100 = 0..100%) |
41 |
< |
{"v4volume", TYPE_INT32, false}, // Volume sampled voice (0..0x100 = 0..100%) |
42 |
< |
{"v1pan", TYPE_INT32, false}, // Panning voice 1 (-0x100..0x100 = left..right) |
43 |
< |
{"v2pan", TYPE_INT32, false}, // Panning voice 2 (-0x100..0x100 = left..right) |
44 |
< |
{"v3pan", TYPE_INT32, false}, // Panning voice 3 (-0x100..0x100 = left..right) |
45 |
< |
{"v4pan", TYPE_INT32, false}, // Panning sampled voice (-0x100..0x100 = left..right) |
46 |
< |
{"dualsep", TYPE_INT32, false}, // Dual-SID stereo separation (0..0x100 = 0..100%) |
47 |
< |
{"replayfreq", TYPE_INT32, false}, // Frequency at which 6510 replay routine is called in Hz |
48 |
< |
{"speed", TYPE_INT32, false}, // Speed adjustment (percent) |
27 |
> |
{"victype", TYPE_STRING, false, "type number of VIC-II to emulate (6569, 6567 or 6567R5)"}, |
28 |
> |
{"sidtype", TYPE_STRING, false, "type number of SID to emulate (6581 or 8580)"}, |
29 |
> |
{"samplerate", TYPE_INT32, false, "output sample rate in Hz"}, |
30 |
> |
{"audio16bit", TYPE_BOOLEAN, false, "16-bit audio output"}, |
31 |
> |
{"stereo", TYPE_BOOLEAN, false, "stereo audio output"}, |
32 |
> |
{"filters", TYPE_BOOLEAN, false, "emulate SID filters"}, |
33 |
> |
{"dualsid", TYPE_BOOLEAN, false, "emulate dual SID chips"}, |
34 |
> |
{"audioeffect", TYPE_INT32, false, "audio effect type (0 = none, 1 = reverb, 2 = spatial)"}, |
35 |
> |
{"revdelay", TYPE_INT32, false, "effect delay in ms"}, |
36 |
> |
{"revfeedback", TYPE_INT32, false, "effect feedback (0..256 = 0..100%)"}, |
37 |
> |
{"volume", TYPE_INT32, false, "master volume (0..256 = 0..100%)"}, |
38 |
> |
{"v1volume", TYPE_INT32, false, "volume voice 1 (0..256 = 0..100%)"}, |
39 |
> |
{"v2volume", TYPE_INT32, false, "volume voice 2 (0..256 = 0..100%)"}, |
40 |
> |
{"v3volume", TYPE_INT32, false, "volume voice 3 (0..256 = 0..100%)"}, |
41 |
> |
{"v4volume", TYPE_INT32, false, "volume sampled voice (0..256 = 0..100%)"}, |
42 |
> |
{"v1pan", TYPE_INT32, false, "panning voice 1 (-256..256 = left..right)"}, |
43 |
> |
{"v2pan", TYPE_INT32, false, "panning voice 2 (-256..256 = left..right)"}, |
44 |
> |
{"v3pan", TYPE_INT32, false, "panning voice 3 (-256..256 = left..right)"}, |
45 |
> |
{"v4pan", TYPE_INT32, false, "panning sampled voice (-256..256 = left..right)"}, |
46 |
> |
{"dualsep", TYPE_INT32, false, "dual SID stereo separation (0..256 = 0..100%)"}, |
47 |
> |
{"cwsid", TYPE_BOOLEAN, false, "output to Catweasel SID"}, |
48 |
> |
{"siddev", TYPE_STRING, false, "Catweasel device name"}, |
49 |
> |
{"speed", TYPE_INT32, false, "replay speed adjustment (percent)"}, |
50 |
> |
{"outfile", TYPE_STRING, false, "write output to WAV file"}, |
51 |
> |
{"time", TYPE_INT32, false, "playing time in second when writing to file"}, |
52 |
|
{NULL, TYPE_END, false} // End of list |
53 |
|
}; |
54 |
|
|
79 |
|
PrefsAddInt32("v4volume", 0x100); |
80 |
|
PrefsAddInt32("v4pan", 0); |
81 |
|
PrefsAddInt32("dualsep", 0x80); |
82 |
< |
PrefsAddInt32("replayfreq", 50); |
82 |
> |
PrefsAddBool("cwsid", false); |
83 |
> |
PrefsAddString("siddev", "/dev/sid"); |
84 |
|
PrefsAddInt32("speed", 100); |
85 |
|
} |