ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SIDPlayer/src/prefs_items.cpp
(Generate patch)

Comparing SIDPlayer/src/prefs_items.cpp (file contents):
Revision 1.5 by cebix, 2001-04-01T17:04:43Z vs.
Revision 1.9 by cebix, 2011-07-31T09:52:33Z

# Line 1 | Line 1
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
# Line 44 | Line 44 | prefs_desc common_prefs_items[] = {
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  
# Line 56 | Line 57 | prefs_desc common_prefs_items[] = {
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");
# Line 78 | Line 79 | void AddPrefsDefaults(void)
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   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines