]> git.alsa-project.org Git - alsa-tools.git/commitdiff
hdspmixer: Fix compiler warnings.
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>
Mon, 28 Feb 2011 13:56:07 +0000 (14:56 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 28 Feb 2011 14:55:14 +0000 (15:55 +0100)
All compiler warnings were caused by a conversion from "foo" to a
char pointer. Given that the string itself really is constant, simply
add the keyword to make g++ happy.

Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
55 files changed:
hdspmixer/pixmaps/Slider1.xpm
hdspmixer/pixmaps/Slider2.xpm
hdspmixer/pixmaps/Zlmloop2.xpm
hdspmixer/pixmaps/Zlmloopm2.xpm
hdspmixer/pixmaps/b_blank.xpm
hdspmixer/pixmaps/b_card1.xpm
hdspmixer/pixmaps/b_card2.xpm
hdspmixer/pixmaps/b_card3.xpm
hdspmixer/pixmaps/b_mute.xpm
hdspmixer/pixmaps/b_pre1.xpm
hdspmixer/pixmaps/b_pre2.xpm
hdspmixer/pixmaps/b_pre3.xpm
hdspmixer/pixmaps/b_pre4.xpm
hdspmixer/pixmaps/b_pre5.xpm
hdspmixer/pixmaps/b_pre6.xpm
hdspmixer/pixmaps/b_pre7.xpm
hdspmixer/pixmaps/b_pre8.xpm
hdspmixer/pixmaps/b_save.xpm
hdspmixer/pixmaps/b_solo.xpm
hdspmixer/pixmaps/b_zlm.xpm
hdspmixer/pixmaps/buttons.xpm
hdspmixer/pixmaps/empty.xpm
hdspmixer/pixmaps/empty_2.xpm
hdspmixer/pixmaps/empty_linux.xpm
hdspmixer/pixmaps/iomixer.xpm
hdspmixer/pixmaps/iomixer_r.xpm
hdspmixer/pixmaps/level.xpm
hdspmixer/pixmaps/matrix_black.xpm
hdspmixer/pixmaps/matrix_grey.xpm
hdspmixer/pixmaps/matrix_grey_l.xpm
hdspmixer/pixmaps/matrix_grey_o.xpm
hdspmixer/pixmaps/matrix_grey_ol.xpm
hdspmixer/pixmaps/matrix_mute.xpm
hdspmixer/pixmaps/matrix_white.xpm
hdspmixer/pixmaps/matrix_yellow.xpm
hdspmixer/pixmaps/monitor.xpm
hdspmixer/pixmaps/mute.xpm
hdspmixer/pixmaps/output.xpm
hdspmixer/pixmaps/output_r.xpm
hdspmixer/pixmaps/over.xpm
hdspmixer/pixmaps/peak.xpm
hdspmixer/pixmaps/solo.xpm
hdspmixer/src/HDSPMixerAbout.cxx
hdspmixer/src/HDSPMixerAbout.h
hdspmixer/src/HDSPMixerAboutText.h
hdspmixer/src/HDSPMixerGain.cxx
hdspmixer/src/HDSPMixerGain.h
hdspmixer/src/HDSPMixerIOMixer.h
hdspmixer/src/HDSPMixerOutput.cxx
hdspmixer/src/HDSPMixerOutput.h
hdspmixer/src/HDSPMixerSelector.cxx
hdspmixer/src/HDSPMixerSelector.h
hdspmixer/src/HDSPMixerSetup.cxx
hdspmixer/src/HDSPMixerSetup.h
hdspmixer/src/pixmaps.h

index 017f4d25a6dad3863440c63c656028bad5b1ca86..7c24161e4950e38434ec1035e04899f35e198507 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * Slider1_xpm[] = {
+char const * Slider1_xpm[] = {
 "13 12 257 2",
 "      c None",
 ".     c #000000",
index f7d76b1db982a46252971e895a9b2e71ece6e682..743b5cf93520bf493ded05969a18358585878a2e 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * Slider2_xpm[] = {
+char const * Slider2_xpm[] = {
 "2 13 257 2",
 "      c None",
 ".     c #7DF846",
index 42377c989790d5ba72a0ef4edd56f039dcd4fdcd..f27f075631ffc58ad67731a33787a3043859d077 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * Zlmloop2_xpm[] = {
+char const * Zlmloop2_xpm[] = {
 "76 253 257 2",
 "      c None",
 ".     c #D1E0E5",
index 55b121fefcc339457944f7812479b6f9e245539f..77d7dab3f0bb5a0cf748f3256b08c96192da7b09 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * Zlmloopm2_xpm[] = {
+char const * Zlmloopm2_xpm[] = {
 "76 253 257 2",
 "      c None",
 ".     c #D1E0E5",
index c0374d2d3078cfcedb3293fc532bdf13b81d22f2..bafadd715d6ca8f58eecfe6cb3c19085829d507d 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * b_blank_xpm[] = {
+char const * b_blank_xpm[] = {
 "13 13 13 1",
 "      c None",
 ".     c #1AA00D",
index c832a10dd71d77951ec095d52b155faa3766f24c..d818674035fadef4f4a59a029c11b9081d8d7e7f 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * b_card1_xpm[] = {
+char const * b_card1_xpm[] = {
 "13 13 14 1",
 "      c None",
 ".     c #8D8F0F",
index 5dd8da89a6582328b4b9233bc2fbf0a9d90bc043..9a27ce6711973a0621aa5cf8a74dc33cf51ee2f6 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * b_card2_xpm[] = {
+char const * b_card2_xpm[] = {
 "13 13 14 1",
 "      c None",
 ".     c #8D8F0F",
index 10e9e30745d3522ebd1dc403260517636afc448c..05961a07c052a9a355beef35bed4af865397f1ec 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * b_card3_xpm[] = {
+char const * b_card3_xpm[] = {
 "13 13 14 1",
 "      c None",
 ".     c #8D8F0F",
index dcdc8cd2dddd9037917e312c78db2b57a3eb7558..86bec573a0e9e3a343d7bfb6566b10876211e597 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * b_mute_xpm[] = {
+char const * b_mute_xpm[] = {
 "30 22 52 1",
 "      c None",
 ".     c #DE8C00",
index b81f85a6a057a6503b8611d0014059b852124674..62b887441c4292dc4a406f5878680ac1cc7e74e5 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * b_pre1_xpm[] = {
+char const * b_pre1_xpm[] = {
 "13 13 14 1",
 "      c None",
 ".     c #1AA00D",
index 731c0302fb7399b034b86135d8c157e204f1962c..4c331019cf23819aa3f2d45c09fced839691e8d4 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * b_pre2_xpm[] = {
+char const * b_pre2_xpm[] = {
 "13 13 14 1",
 "      c None",
 ".     c #1AA00D",
index 77162c2ed9e6e51a09b6700ff438b9ddf8787837..0b14cb201a86a04d3b593a3f1c25fd4c803e459e 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * b_pre3_xpm[] = {
+char const * b_pre3_xpm[] = {
 "13 13 14 1",
 "      c None",
 ".     c #1AA00D",
index 30ab56078a77bc395ef88cfb1062f6b2ece73c29..c22909bb927bdad669b4b88208bd5aeb28f93d11 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * b_pre4_xpm[] = {
+char const * b_pre4_xpm[] = {
 "13 13 14 1",
 "      c None",
 ".     c #1AA00D",
index f563537e999a636953973ca831454cb16d9910ff..bfc2784ce16590e4c2c69013a519a4a697eed896 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * b_pre5_xpm[] = {
+char const * b_pre5_xpm[] = {
 "13 13 14 1",
 "      c None",
 ".     c #1AA00D",
index 2d47537cd86ff2a7587d25f68cfe6d5faa73eb9f..b5ab0f53433ad7bd5b00edb1db2e56b9b7d6302b 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * b_pre6_xpm[] = {
+char const * b_pre6_xpm[] = {
 "13 13 14 1",
 "      c None",
 ".     c #1AA00D",
index 8de44701c479deac5a9674bc0b6439568c9d2a5a..4690875d96d7dc5c280c537291f0f35e134a4ec4 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * b_pre7_xpm[] = {
+char const * b_pre7_xpm[] = {
 "13 13 14 1",
 "      c None",
 ".     c #1AA00D",
index 895263fed79904e56b62b88d331db010f1912fec..aa4073a137b452e0faab240880c633a3ff259540 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * b_pre8_xpm[] = {
+char const * b_pre8_xpm[] = {
 "13 13 14 1",
 "      c None",
 ".     c #1AA00D",
index a984e289ad9730235fa89a0121b785ea06e71713..c39529bcae1085e1aeefb0ac32343cfab1e2d46f 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * b_save_xpm[] = {
+char const * b_save_xpm[] = {
 "13 13 14 1",
 "      c None",
 ".     c #5C7B1B",
index f678b199b3370148b9e8a903c3bd74972bc3aa98..ad6c9f5a43322fcb237aeff2862135367454617d 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * b_solo_xpm[] = {
+char const * b_solo_xpm[] = {
 "30 22 53 1",
 "      c None",
 ".     c #7C2000",
index c44e75bdfd00804029482943e0b1c7483bf5c6ce..6e9c6e9cb107189190fe9e04e8b3dcd1bbf717c0 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * b_zlm_xpm[] = {
+char const * b_zlm_xpm[] = {
 "13 13 11 1",
 "      c None",
 ".     c #000D00",
index 7cbe5f188c811fe75dafd80c222ee0b7ef97ba4c..3e3f44fc64f1636931fc54ffd5873a9593129021 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * buttons_xpm[] = {
+char const * buttons_xpm[] = {
 "76 253 257 2",
 "      c None",
 ".     c #C08480",
index 284abc1c5e20ad08666a9b639d69808eab80dae7..c86fe46444f4bd0140187158177866ecb4cc9898 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * empty_xpm[] = {
+char const * empty_xpm[] = {
 "76 253 402 2",
 "      c None",
 ".     c #404840",
index 31ff7b261679736ac82da553e4cccac882b7a223..fb40d888d85031c7858b6ef3302c3e843ead5c6b 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * empty_2_xpm[] = {
+char const * empty_2_xpm[] = {
 "76 253 257 2",
 "      c None",
 ".     c #D1E0E5",
index e74ff51bcb80298bff69488c0262586126303bcf..10088d6a0a97e0151d1e3b402654452ad3dc69da 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * empty_linux_xpm[] = {
+char const * empty_linux_xpm[] = {
 "76 253 1535 2",
 "      c None",
 ".     c #404840",
index 31a4b16186abda620531e38e473e272c1643d8a2..15b7536f988ccd41d1ae93a39f10cfee942255fc 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * iomixer_xpm[] = {
+char const * iomixer_xpm[] = {
 "36 253 257 2",
 "      c None",
 ".     c #000000",
index 6428cd4b8fe01d9a1727aa36bc3f28b2741b0742..cac66c9346eef633d440c4f58d8a8abd22797b38 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * iomixer_r_xpm[] = {
+char const * iomixer_r_xpm[] = {
 "36 253 257 2",
 "      c None",
 ".     c #000000",
index a92fe260a4bf961ebf8a4fa9934af038d90a84f7..3b776a5c02b295a860a4dc3a0b20c9c9f61381e5 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * level_xpm[] = {
+char const * level_xpm[] = {
 "8 139 257 2",
 "      c None",
 ".     c #149003",
index e96c3cf34b4f4756a5e307f7724ccc56d29d91ea..69e1e5087c6fa3199d7416178bb27dc14cfecaf9 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * matrix_black_xpm[] = {
+char const * matrix_black_xpm[] = {
 "32 12 257 2",
 "      c None",
 ".     c #000000",
index 40d0a3474a9988868a721b9dd8ccd2cc675614e6..ad5b369060af4627eb3db1afd1feb826faae577e 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * matrix_grey_xpm[] = {
+char const * matrix_grey_xpm[] = {
 "32 12 22 1",
 "      c None",
 ".     c #A0A0A0",
index b1a434eaab6a4633434b28af29c07e5c772b288c..5eeedbe8ee28c92ef776c92450fbce2a8c36b525 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * matrix_grey_l_xpm[] = {
+char const * matrix_grey_l_xpm[] = {
 "32 12 22 1",
 "      c None",
 ".     c #6F776F",
index 8dce29163a13f3acffbe4807ce21e46560414265..033e00b245332c5e538a6f48060a24c93f265c5e 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * matrix_grey_o_xpm[] = {
+char const * matrix_grey_o_xpm[] = {
 "32 12 22 1",
 "      c None",
 ".     c #6F776F",
index 64c6c40a0d5ebe4450fb1bf9d0c4d674f1ffdc40..4ced7f4d63ac85d6c445d38a90bacec1ffc272c1 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * matrix_grey_ol_xpm[] = {
+char const * matrix_grey_ol_xpm[] = {
 "32 12 22 1",
 "      c None",
 ".     c #6F776F",
index 3c917d873fe0c96e1a1e8aad2e97995b1f38554f..fcc30b28f8be4ccaa65323fb8b61cd57aa522194 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * matrix_mute_xpm[] = {
+char const * matrix_mute_xpm[] = {
 "32 12 25 1",
 "      c None",
 ".     c #C5C5BD",
index c741b5b9ea4bba81cce83be5c18d0adf0177343e..ab5808a429a11aeb6e596fcc60fc1587686433d2 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * matrix_white_xpm[] = {
+char const * matrix_white_xpm[] = {
 "32 12 257 2",
 "      c None",
 ".     c #000000",
index c4ab7f77bcd9684132494883fa7b66e2d612219c..6a6565c4d8f45e469164cabb6efcf808de0301a5 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * matrix_yellow_xpm[] = {
+char const * matrix_yellow_xpm[] = {
 "32 12 257 2",
 "      c None",
 ".     c #000000",
index 4d84ef6f6f36929ff5fd4d4e7e27a16017dae6e9..8c29898972a6340c134a3c46a62c608e4faa38df 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * monitor_xpm[] = {
+char const * monitor_xpm[] = {
 "76 253 257 2",
 "      c None",
 ".     c #D1E0E5",
index 83c71e47813139f0ae2d69c6f7735a7e906a89b1..fbc4707669ccb44830506faddf2eb2c387ee1941 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * mute_xpm[] = {
+char const * mute_xpm[] = {
 "13 26 30 1",
 "      c None",
 ".     c #1B7B1B",
index 3fc334fc6605df149623cf8f192b877c27ca3b9c..a9ccb809b03380f9bc5f2612962c7f219d5ac008 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * output_xpm[] = {
+char const * output_xpm[] = {
 "36 208 257 2",
 "      c None",
 ".     c #000000",
index 78fc61ba87264d9095a4c95e050981a9b1264233..2e73c7f93cbef81b32ddd3c6737cd848a9321546 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * output_r_xpm[] = {
+char const * output_r_xpm[] = {
 "36 208 257 2",
 "      c None",
 ".     c #000000",
index 6b0e7e31df5891964fd583200e927972cd99e0cc..5918170b7a4e4823671bd7290549aee05369b556 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * over_xpm[] = {
+char const * over_xpm[] = {
 "30 13 257 2",
 "      c None",
 ".     c #000000",
index 88b20e3015d8bc446bd9cb3313faf924e7181a07..19d46be86f960a1e1ede3bd0393671f176a04977 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * peak_xpm[] = {
+char const * peak_xpm[] = {
 "8 5 257 2",
 "      c None",
 ".     c #61FF48",
index 1bfb438b8c626dbef1eca6f9b831e0ac5eb2ee4d..42f3aca994e342e03b766086a7777d87e6a32e95 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-char * solo_xpm[] = {
+char const * solo_xpm[] = {
 "13 26 28 1",
 "      c None",
 ".     c #3C3E2D",
index 709529ac424a95767e02e283e1a3449eb051f1e5..39587d06e85976c5ddb25e6c445866281fb0e05b 100644 (file)
@@ -22,7 +22,7 @@
 #include "HDSPMixerAbout.h"
 
 
-HDSPMixerAbout::HDSPMixerAbout(int w, int h, char *label, HDSPMixerWindow *win):Fl_Double_Window(w, h, label)
+HDSPMixerAbout::HDSPMixerAbout(int w, int h, char const *label, HDSPMixerWindow *win):Fl_Double_Window(w, h, label)
 {
     basew = win;
     text = new HDSPMixerAboutText(10,10,w-20,h-20);
index f59b256f794256daac04e1f468b11827ec6bd7b5..e539935260c9b83c3b7ee8ae9ef3f6e235050190 100644 (file)
@@ -36,7 +36,7 @@ private:
     HDSPMixerAboutText *text;
     HDSPMixerWindow *basew;
 public:
-    HDSPMixerAbout(int w, int h, char *label, HDSPMixerWindow *win);
+    HDSPMixerAbout(int w, int h, char const *label, HDSPMixerWindow *win);
     int handle(int e);
 };
 
index 75b96ce9c35c02c078f8b809c39477f3defd0455..7ccac252bd6df9ce6e4a4b8956f0a21761648db8 100644 (file)
@@ -32,7 +32,7 @@ public:
     HDSPMixerAboutText(int x, int y, int w, int h);
     void draw();
 private:
-    char *text;
+    char const *text;
 };
 
 #endif
index 9d43a73328582710a2b72bb26a0b10f242fe8e66..fd6339ec5c757a1ec80d1f7ee8e77667bdb832b1 100644 (file)
@@ -33,7 +33,7 @@ void HDSPMixerGain::draw()
     fl_draw(text, x(), y(), w(), h(), FL_ALIGN_CENTER);
 }
 
-void HDSPMixerGain::setText(char *txt)
+void HDSPMixerGain::setText(char const *txt)
 {
     strncpy(text, txt, 10);
     redraw();
index 9f70778f1e9fa5f6917ea61fb5631d6b87ba530d..a5ab55ac4af24f58388e1af1ee83d1365d660795 100644 (file)
@@ -39,7 +39,7 @@ public:
     char text[10];
     HDSPMixerGain(int x, int y, int parenttype);
     void draw();
-    void setText(char *txt);
+    void setText(char const *txt);
 };
 
 #endif
index a9a35de5c7867fe60f39dc5570defdee39635e54..b440007fb87e3a53e3501d2f8c8175a65b9538f6 100644 (file)
@@ -51,7 +51,7 @@ class HDSPMixerMeter;
 class HDSPMixerIOMixer:public Fl_Group
 {
 private:
-    char **p_iomixer_xpm;
+    char const **p_iomixer_xpm;
     int channel_num, relative_num, mixer_type;
        std::stringstream channel_name;
     void update_child(Fl_Widget &widget);
index dd0c9f8e9b822cc60b31f7626b90a3ae8abd7558..05a126c58ac5553224f77610f5ce56013c7f7473 100644 (file)
@@ -21,7 +21,7 @@
 #pragma implementation
 #include "HDSPMixerOutput.h"
 
-static char *labels_madi_ss[64] = {
+static char const *labels_madi_ss[64] = {
    "1",  "2",  "3",  "4",  "5",  "6",  "7",  "8",
    "9", "10", "11", "12", "13", "14", "15", "16", 
   "17", "18", "19", "20", "21", "22", "23", "24", 
@@ -32,25 +32,25 @@ static char *labels_madi_ss[64] = {
   "57", "58", "59", "60", "61", "62", "63", "64"
 };
 
-static char *labels_madi_ds[64] = {
+static char const *labels_madi_ds[64] = {
    "1",  "2",  "3",  "4",  "5",  "6",  "7",  "8",
    "9", "10", "11", "12", "13", "14", "15", "16", 
   "17", "18", "19", "20", "21", "22", "23", "24", 
   "25", "26", "27", "28", "29", "30", "31", "32", 
 };
 
-static char *labels_madi_qs[16] = {
+static char const *labels_madi_qs[16] = {
    "1",  "2",  "3",  "4",  "5",  "6",  "7",  "8",
    "9", "10", "11", "12", "13", "14", "15", "16", 
 };
 
 
-static char *labels_aes32[16] = {
+static char const *labels_aes32[16] = {
   "AES 1", "AES 2", "AES 3", "AES 4", "AES 5", "AES 6", "AES 7", "AES 8",
   "AES 9", "AES 10", "AES 11", "AES 12", "AES 13", "AES 14", "AES 15", "AES 16"
 };
 
-static char *labels_raydat_ss[36] = {
+static char const *labels_raydat_ss[36] = {
   "A1.1", "A1.2", "A1.3", "A1.4", "A1.5", "A1.6", "A1.7", "A1.8",
   "A2.1", "A2.2", "A2.3", "A2.4", "A2.5", "A2.6", "A2.7", "A2.8",
   "A3.1", "A3.2", "A3.3", "A3.4", "A3.5", "A3.6", "A3.7", "A3.8",
@@ -59,7 +59,7 @@ static char *labels_raydat_ss[36] = {
   "SP.L", "SP.R"
 };
 
-static char *labels_raydat_ds[20] = {
+static char const *labels_raydat_ds[20] = {
   "A1.1", "A1.2", "A1.3", "A1.4",
   "A2.1", "A2.2", "A2.3", "A2.4",
   "A3.1", "A3.2", "A3.3", "A3.4",
@@ -68,7 +68,7 @@ static char *labels_raydat_ds[20] = {
   "SP.L", "SP.R"
 };
 
-static char *labels_raydat_qs[12] = {
+static char const *labels_raydat_qs[12] = {
   "A1.1", "A1.2",
   "A2.1", "A2.2",
   "A3.1", "A3.2",
@@ -78,7 +78,7 @@ static char *labels_raydat_qs[12] = {
 };
 
 
-static char *labels_aio_ss_input[14] = {
+static char const *labels_aio_ss_input[14] = {
   "AN 1",  "AN 2",
   "SP.L", "SP.R",
   "AES.L",  "AES.R",
@@ -86,7 +86,7 @@ static char *labels_aio_ss_input[14] = {
   "A 5", "A 6", "A 7", "A 8"
 };
 
-static char *labels_aio_ss_playback[16] = {
+static char const *labels_aio_ss_playback[16] = {
   "AN 1",  "AN 2",
   "SP.L", "SP.R",
   "AES.L",  "AES.R",
@@ -95,14 +95,14 @@ static char *labels_aio_ss_playback[16] = {
   "PH.L", "PH.R"
 };
 
-static char *labels_aio_ds_input[10] = {
+static char const *labels_aio_ds_input[10] = {
   "AN 1",  "AN 2",  
   "SP.L", "SP.R",
   "AES.L",  "AES.R",
   "A 1", "A 2", "A 3", "A 4"
 };
 
-static char *labels_aio_ds_playback[12] = {
+static char const *labels_aio_ds_playback[12] = {
   "AN 1",  "AN 2",  
   "SP.L", "SP.R",
   "AES.L",  "AES.R",
@@ -110,14 +110,14 @@ static char *labels_aio_ds_playback[12] = {
   "PH.L", "PH.R"
  };
 
-static char *labels_aio_qs_input[8] = {
+static char const *labels_aio_qs_input[8] = {
   "AN 1",  "AN 2",
   "SP.L", "SP.R",
   "AES.L",  "AES.R",
   "A 1", "A 2"
 };
 
-static char *labels_aio_qs_playback[10] = {
+static char const *labels_aio_qs_playback[10] = {
   "AN 1",  "AN 2",
   "SP.L", "SP.R",
   "AES.L",  "AES.R",
@@ -126,44 +126,44 @@ static char *labels_aio_qs_playback[10] = {
 };
 
 
-static char *labels_mf_ss[20] = {
+static char const *labels_mf_ss[20] = {
     "AN 1", "AN 2", "AN 3", "AN 4", "AN 5", "AN 6", "AN 7", "AN 8",
     "A 1", "A 2", "A 3", "A 4", "A 5", "A 6", "A 7", "A 8",
     "SP.L", "SP.R", "AN.L", "AN.R"
 };
 
-static char *labels_mf_ds[16] = {
+static char const *labels_mf_ds[16] = {
     "AN 1", "AN 2", "AN 3", "AN 4", "AN 5", "AN 6", "AN 7", "AN 8",
     "A 1", "A 2", "A 3", "A 4",
     "SP.L", "SP.R", "AN.L", "AN.R"
 };
 
 
-static char *labels_df_ss[28] = {
+static char const *labels_df_ss[28] = {
     "A1 1", "A1 2", "A1 3", "A1 4", "A1 5", "A1 6", "A1 7", "A1 8",
     "A2 1", "A2 2", "A2 3", "A2 4", "A2 5", "A2 6", "A2 7", "A2 8",
     "A3 1", "A3 2", "A3 3", "A3 4", "A3 5", "A3 6", "A3 7", "A3 8",
     "SP.L", "SP.R", "AN.L", "AN.R"
 };
 
-static char *labels_df_ds[16] = {
+static char const *labels_df_ds[16] = {
     "A1 1", "A1 2", "A1 3", "A1 4",
     "A2 1", "A2 2", "A2 3", "A2 4",
     "A3 1", "A3 2", "A3 3", "A3 4",
     "SP.L", "SP.R", "AN.L", "AN.R"
 };
 
-static char *labels_9632_ss[16] = {
+static char const *labels_9632_ss[16] = {
     "A 1", "A 2", "A 3", "A 4", "A 5", "A 6", "A 7", "A 8",
     "SP.L", "SP.R", "AN 1", "AN 2", "AN 3", "AN 4", "AN 5", "AN 6"
 };
 
-static char *labels_9632_ds[12] = {
+static char const *labels_9632_ds[12] = {
     "A 1", "A 2", "A 3", "A 4",
     "SP.L", "SP.R", "AN 1", "AN 2", "AN 3", "AN 4", "AN 5", "AN 6"
 };
 
-static char *labels_9632_qs[8] = {
+static char const *labels_9632_qs[8] = {
     "SP.L", "SP.R", "AN 1", "AN 2", "AN 3", "AN 4", "AN 5", "AN 6"
 };
 
index 2e7fb098b28aed41763954c17fcf8ff512abb9ca..f38d263e8c3790119ea53d33936f66b30519b9e2 100644 (file)
@@ -46,8 +46,8 @@ class HDSPMixerOutput:public Fl_Group
 {
 private:
     int out_num;
-    char **labels_input, **labels_playback;
-    char **p_output_xpm;
+    char const **labels_input, **labels_playback;
+    char const **p_output_xpm;
     HDSPMixerPeak *peak;
     HDSPMixerWindow *basew;    
     void update_child(Fl_Widget& widget);
index a4156b0c5f248addf40ca72cf425fa61b0f277fe..098658fe1c2a28b6e7f4d07c0c28459ee1621327 100644 (file)
@@ -24,7 +24,7 @@
 #pragma implementation
 #include "HDSPMixerSelector.h"
 
-static char *destinations_madi_ss[32] = {
+static char const *destinations_madi_ss[32] = {
   "1+2", "3+4", "5+6", "7+8",
   "9+10", "11+12", "13+14", "15+16",
   "17+18", "19+20", "21+22", "23+24",
@@ -35,24 +35,24 @@ static char *destinations_madi_ss[32] = {
   "57+58", "59+60", "61+62", "63+64"
 };
 
-static char *destinations_madi_ds[16] = {
+static char const *destinations_madi_ds[16] = {
   "1+2", "3+4", "5+6", "7+8",
   "9+10", "11+12", "13+14", "15+16",
   "17+18", "19+20", "21+22", "23+24",
   "25+26", "27+28", "29+30", "31+32"
 };
 
-static char *destinations_madi_qs[8] = {
+static char const *destinations_madi_qs[8] = {
   "1+2", "3+4", "5+6", "7+8",
   "9+10", "11+12", "13+14", "15+16"
 };
 
-static char *destinations_aes32[8] = {
+static char const *destinations_aes32[8] = {
   "AES 1+2", "AES 3+4", "AES 5+6", "AES 7+8",
   "AES 9+10", "AES 11+12", "AES 13+14", "AES 15+16",
 };
 
-static char *destinations_raydat_ss[18] = {
+static char const *destinations_raydat_ss[18] = {
 
   "A1 1+2", "A1 3+4", "A1 5+6", "A1 7+8",
   "A2 1+2", "A2 3+4", "A2 5+6", "A2 7+8",
@@ -62,7 +62,7 @@ static char *destinations_raydat_ss[18] = {
   "SPDIF"
 };
 
-static char *destinations_raydat_ds[10] = {
+static char const *destinations_raydat_ds[10] = {
   "A1 1+2", "A1 3+4",
   "A2 1+2", "A2 3+4",
   "A3 1+2", "A3 3+4",
@@ -71,7 +71,7 @@ static char *destinations_raydat_ds[10] = {
   "SPDIF"
 };
 
-static char *destinations_raydat_qs[6] = {
+static char const *destinations_raydat_qs[6] = {
   "A1 1+2",
   "A2 1+2",
   "A3 1+2",
@@ -81,7 +81,7 @@ static char *destinations_raydat_qs[6] = {
 };
 
 
-static char *destinations_aio_ss[8] = {
+static char const *destinations_aio_ss[8] = {
   "AN 1+2",
   "AES",
   "SPDIF",
@@ -89,7 +89,7 @@ static char *destinations_aio_ss[8] = {
   "Phones"
 };
 
-static char *destinations_aio_ds[6] = {
+static char const *destinations_aio_ds[6] = {
   "AN 1+2", 
   "AES",
   "SPDIF",
@@ -97,7 +97,7 @@ static char *destinations_aio_ds[6] = {
   "Phones"
 };
 
-static char *destinations_aio_qs[5] = {
+static char const *destinations_aio_qs[5] = {
   "AN 1+2",
   "AES",
   "SPDIF",
@@ -105,57 +105,57 @@ static char *destinations_aio_qs[5] = {
   "Phones"
 };
 
-static char *destinations_mf_ss[10] = {
+static char const *destinations_mf_ss[10] = {
   "AN 1+2", "AN 3+4", "AN 5+6", "AN 7+8",
   "A 1+2", "A 3+4", "A 5+6", "A 7+8",
   "SPDIF", "Analog"
 };
 
-static char *destinations_mf_ds[8] = {
+static char const *destinations_mf_ds[8] = {
   "AN 1+2", "AN 3+4", "AN 5+6", "AN 7+8",
   "A 1+2", "A 3+4",
   "SPDIF", "Analog"
 };
 
-static char *destinations_df_ss[14] = {
+static char const *destinations_df_ss[14] = {
   "A1 1+2", "A1 3+4", "A1 5+6", "A1 7+8",
   "A2 1+2", "A2 3+4", "A2 5+6", "A2 7+8",
   "A3 1+2", "A3 3+4", "A3 5+6", "A3 7+8",
   "SPDIF", "Analog"
 };
 
-static char *destinations_df_ds[8] = {
+static char const *destinations_df_ds[8] = {
   "A1 1+2", "A1 3+4",
   "A2 1+2", "A2 3+4",
   "A3 1+2", "A3 3+4",
   "SPDIF", "Analog"
 };
 
-static char *destinations_h9652_ss[13] = {
+static char const *destinations_h9652_ss[13] = {
   "A1 1+2", "A1 3+4", "A1 5+6", "A1 7+8",
   "A2 1+2", "A2 3+4", "A2 5+6", "A2 7+8",
   "A3 1+2", "A3 3+4", "A3 5+6", "A3 7+8",
   "SPDIF"
 };
 
-static char *destinations_h9652_ds[7] = {
+static char const *destinations_h9652_ds[7] = {
   "A1 1+2", "A1 3+4",
   "A2 1+2", "A2 3+4",
   "A3 1+2", "A3 3+4",
   "SPDIF"
 };
 
-static char *destinations_h9632_ss[8] = {
+static char const *destinations_h9632_ss[8] = {
   "A 1+2", "A 3+4", "A 5+6", "A 7+8",
   "SPDIF", "AN 1+2", "AN 3+4", "AN 5+6"
 };
 
-static char *destinations_h9632_ds[6] = {
+static char const *destinations_h9632_ds[6] = {
   "A 1+2", "A 3+4",
   "SPDIF", "AN 1+2", "AN 3+4", "AN 5+6"    
 };
 
-static char *destinations_h9632_qs[4] = {
+static char const *destinations_h9632_qs[4] = {
   "SPDIF", "AN 1+2", "AN 3+4", "AN 5+6"    
 };
 
index 6f232cfa9bdfd5e1f8b0f99bf93de877e210adef..7994305a02a0141bda81613394c9064738706760 100644 (file)
@@ -39,7 +39,7 @@ class HDSPMixerIOMixer;
 class HDSPMixerSelector:public Fl_Menu_
 {
 private:
-    char **destinations;
+    char const **destinations;
     HDSPMixerWindow *basew;
 public:
     int max_dest;
index 6fa35517251429dc66736b0a387ce784e965ef1a..593ee7084768289b240b36cc920db0904cc74f84 100644 (file)
@@ -91,7 +91,7 @@ static void rmsplus3_cb(Fl_Widget *widget, void *arg)
 }
 
 
-HDSPMixerSetup::HDSPMixerSetup(int w, int h, char *label, HDSPMixerWindow *win):Fl_Double_Window(w, h, label)
+HDSPMixerSetup::HDSPMixerSetup(int w, int h, char const *label, HDSPMixerWindow *win):Fl_Double_Window(w, h, label)
 {
     basew = win;
     plm = new Fl_Group(10, 25, 380, 60, "Peak Level Meters");    
index 21ffbb2ace9f009e11434cf557a00343861cbb28..ba959512b091fa4809f1dd8cbf9c5b455e39e2bb 100644 (file)
@@ -54,7 +54,7 @@ public:
     int level_val;
     int numbers_val;
     int rmsplus3_val;
-    HDSPMixerSetup(int w, int h, char *label, HDSPMixerWindow *win);
+    HDSPMixerSetup(int w, int h, char const *label, HDSPMixerWindow *win);
     HDSPMixerWindow *basew;
     void updateValues();
 };
index 624bd280c8f10cd1026239f765747a8be003bea7..b980a624dde4a7304f58a587d9a40d7ab8ed817c 100644 (file)
 #ifndef pixmaps_H
 #define pixmaps_H
 
-extern char * Slider1_xpm[];
-extern char * Slider2_xpm[];
-extern char * b_blank_xpm[];
-extern char * b_card1_xpm[];
-extern char * b_card2_xpm[];
-extern char * b_card3_xpm[];
-extern char * b_mute_xpm[];
-extern char * b_pre1_xpm[];
-extern char * b_pre2_xpm[];
-extern char * b_pre3_xpm[];
-extern char * b_pre4_xpm[];
-extern char * b_pre5_xpm[];
-extern char * b_pre6_xpm[];
-extern char * b_pre7_xpm[];
-extern char * b_pre8_xpm[];
-extern char * b_save_xpm[];
-extern char * b_solo_xpm[];
-extern char * buttons_xpm[];
-extern char * empty_xpm[];
-extern char * empty_linux_xpm[];
-extern char * iomixer_xpm[];
-extern char * level_xpm[];
-extern char * monitor_xpm[];
-extern char * mute_xpm[];
-extern char * output_xpm[];
-extern char * over_xpm[];
-extern char * peak_xpm[];
-extern char * solo_xpm[];
-extern char * iomixer_r_xpm[];
-extern char * output_r_xpm[];
-extern char * matrix_white_xpm[];
-extern char * matrix_black_xpm[];
-extern char * matrix_yellow_xpm[];
-extern char * matrix_mute_xpm[];
-extern char * matrix_grey_xpm[];
-extern char * matrix_grey_l_xpm[];
-extern char * matrix_grey_ol_xpm[];
-extern char * matrix_grey_o_xpm[];
+extern char const * Slider1_xpm[];
+extern char const * Slider2_xpm[];
+extern char const * b_blank_xpm[];
+extern char const * b_card1_xpm[];
+extern char const * b_card2_xpm[];
+extern char const * b_card3_xpm[];
+extern char const * b_mute_xpm[];
+extern char const * b_pre1_xpm[];
+extern char const * b_pre2_xpm[];
+extern char const * b_pre3_xpm[];
+extern char const * b_pre4_xpm[];
+extern char const * b_pre5_xpm[];
+extern char const * b_pre6_xpm[];
+extern char const * b_pre7_xpm[];
+extern char const * b_pre8_xpm[];
+extern char const * b_save_xpm[];
+extern char const * b_solo_xpm[];
+extern char const * buttons_xpm[];
+extern char const * empty_xpm[];
+extern char const * empty_linux_xpm[];
+extern char const * iomixer_xpm[];
+extern char const * level_xpm[];
+extern char const * monitor_xpm[];
+extern char const * mute_xpm[];
+extern char const * output_xpm[];
+extern char const * over_xpm[];
+extern char const * peak_xpm[];
+extern char const * solo_xpm[];
+extern char const * iomixer_r_xpm[];
+extern char const * output_r_xpm[];
+extern char const * matrix_white_xpm[];
+extern char const * matrix_black_xpm[];
+extern char const * matrix_yellow_xpm[];
+extern char const * matrix_mute_xpm[];
+extern char const * matrix_grey_xpm[];
+extern char const * matrix_grey_l_xpm[];
+extern char const * matrix_grey_ol_xpm[];
+extern char const * matrix_grey_o_xpm[];
 
 #endif