1 |
|
/* |
2 |
|
* prefs.cpp - Preferences items |
3 |
|
* |
4 |
< |
* SIDPlayer (C) Copyright 1996-2001 Christian Bauer |
4 |
> |
* SIDPlayer (C) Copyright 1996-2004 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 |
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"}, |
50 |
< |
{"replayfreq", TYPE_INT32, false, NULL}, // Frequency at which 6510 replay routine is called in Hz (used internally) |
51 |
> |
{"time", TYPE_INT32, false, "playing time in seconds when writing to file"}, |
52 |
|
{NULL, TYPE_END, false} // End of list |
53 |
|
}; |
54 |
|
|
57 |
|
* Set default values for preferences items |
58 |
|
*/ |
59 |
|
|
60 |
< |
void AddPrefsDefaults(void) |
60 |
> |
void AddPrefsDefaults() |
61 |
|
{ |
62 |
|
PrefsAddString("victype", "6569"); |
63 |
|
PrefsAddString("sidtype", "6581"); |
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 |
|
} |