hdspconf: fix some string constant conversions

Signed-off-by: Tim Blechmann <tim@klingt.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Tim Blechmann 2011-03-27 13:34:19 +02:00 committed by Takashi Iwai
parent 8f446f99e5
commit e6c8241752
8 changed files with 43 additions and 43 deletions

View file

@ -1,8 +1,8 @@
/*
* HDSPConf
*
*
* Copyright (C) 2003 Thomas Charbonnel (thomas@undata.org)
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@ -21,7 +21,7 @@
#pragma implementation
#include "HC_CardPane.h"
extern char *card_names[5];
extern const char *card_names[5];
HC_CardPane::HC_CardPane(int alsa_idx, int idx, HDSP_IO_Type t):Fl_Group(PANE_X, PANE_Y, PANE_W, PANE_H)
{
@ -39,20 +39,20 @@ HC_CardPane::HC_CardPane(int alsa_idx, int idx, HDSP_IO_Type t):Fl_Group(PANE_X,
spdif_in = new HC_SpdifIn(x()+166, y()+20, 148, V_STEP*3);
spdif_out = new HC_SpdifOut(x()+166, y()+40+V_STEP*3, 148, V_STEP*4);
spdif_freq = new HC_SpdifFreq(x()+166, y()+60+V_STEP*7, 148, V_STEP);
sync_ref = new HC_PrefSyncRef(x()+323, y()+20, 148, V_STEP*4);
autosync_ref = new HC_AutoSyncRef(x()+323, y()+40+V_STEP*4, 148, V_STEP*2);
system_clock = new HC_SystemClock(x()+323, y()+60+V_STEP*6, 148, V_STEP*2);
} else if (type == Digiface) {
clock_source = new HC_ClockSource(x()+9, y()+20, 148, V_STEP*7);
sync_check = new HC_SyncCheck(x()+9, y()+40+V_STEP*7, 148, V_STEP*6);
spdif_in = new HC_SpdifIn(x()+166, y()+20, 148, V_STEP*3);
spdif_out = new HC_SpdifOut(x()+166, y()+40+V_STEP*3, 148, V_STEP*4);
spdif_freq = new HC_SpdifFreq(x()+166, y()+60+V_STEP*7, 148, V_STEP);
sync_ref = new HC_PrefSyncRef(x()+323, y()+20, 148, V_STEP*6);
autosync_ref = new HC_AutoSyncRef(x()+323, y()+40+V_STEP*6, 148, V_STEP*2);
system_clock = new HC_SystemClock(x()+323, y()+60+V_STEP*8, 148, V_STEP*2);
@ -65,7 +65,7 @@ HC_CardPane::HC_CardPane(int alsa_idx, int idx, HDSP_IO_Type t):Fl_Group(PANE_X,
spdif_in = new HC_SpdifIn(x()+166, y()+20, 148, V_STEP*3);
spdif_out = new HC_SpdifOut(x()+166, y()+40+V_STEP*3, 148, V_STEP*4);
spdif_freq = new HC_SpdifFreq(x()+166, y()+60+V_STEP*7, 148, V_STEP);
aeb = new HC_Aeb(x()+323, y()+20, 148, V_STEP);
sync_ref = new HC_PrefSyncRef(x()+323, y()+40+V_STEP, 148, V_STEP*6);
autosync_ref = new HC_AutoSyncRef(x()+323, y()+60+V_STEP*7, 148, V_STEP*2);
@ -78,17 +78,17 @@ HC_CardPane::HC_CardPane(int alsa_idx, int idx, HDSP_IO_Type t):Fl_Group(PANE_X,
spdif_in = new HC_SpdifIn(x()+126, y()+20, 110, V_STEP*4);
spdif_out = new HC_SpdifOut(x()+126, y()+40+V_STEP*4, 110, V_STEP*4);
spdif_freq = new HC_SpdifFreq(x()+126, y()+60+V_STEP*8, 110, V_STEP);
aeb = new HC_Aeb(x()+244, y()+20, 110, V_STEP);
sync_ref = new HC_PrefSyncRef(x()+244, y()+40+V_STEP, 110, V_STEP*3);
autosync_ref = new HC_AutoSyncRef(x()+244, y()+60+V_STEP*4, 110, V_STEP*2);
system_clock = new HC_SystemClock(x()+244, y()+80+V_STEP*6, 110, V_STEP*2);
breakout_cable = new HC_BreakoutCable(x()+362, y()+20, 110, V_STEP);
input_level = new HC_InputLevel(x()+362, y()+40+V_STEP, 110, V_STEP*3);
output_level = new HC_OutputLevel(x()+362, y()+60+V_STEP*4, 110, V_STEP*3);
phones = new HC_Phones(x()+362, y()+80+V_STEP*7, 110, V_STEP*3);
}
end();
}