public LSServerPreset() { presetName = "<no name>"; host = user = pass = mount = ""; relay = LSRelay.ice; port = 0; }
public void SaveToProfile(LSSettings settings) { host = settings.host; port = settings.port; user = settings.user; pass = settings.pass; mount = settings.mount; relay = settings.relay; title = settings.title; description = settings.description; genre = settings.genre; url = settings.url; pubstream = settings.pubstream; }
public LSSettings() { s_devRec = s_devMic = s_devOut = ""; micLeft = true; micRight = false; mp3 = new LSParams(); mp3.enabled = true; mp3.compression = LSCompression.cbr; mp3.bitrate = 192; mp3.quality = 2; mp3.channels = LSChannels.stereo; mp3.ext = "mp3"; ogg = new LSParams(); ogg.enabled = false; ogg.compression = LSCompression.q; ogg.bitrate = 192; ogg.quality = 5; ogg.channels = LSChannels.stereo; ogg.ext = "ogg"; samplerate = 44100; reverbP = 0; reverbS = 90; serverPresets = new List<LSServerPreset>(); host = "become.stream.r-a-d.io"; port = 1337; user = "******"; pass = "******"; mount = "main"; relay = LSRelay.ice; title = "Loopstream"; description = "Cave Explorer Committee"; genre = "Post-Avant Jazzcore"; url = "https://github.com/9001/loopstream"; pubstream = false; latin = false; tagAuto = true; meta = new LSMeta(); metas = new List<LSMeta>(); triggers = new List<LSTrigger>(); resetPresets(); //presets[0] = new LSPreset(1, 1, 0.32, 1, true, true, true); //DEBUG //presets[0] = new LSPreset(0.5, 0.875, 0.32, 0.75, true, true, true); //DEBUG mixer = new LSPreset(); mixer.apply(presets[0]); splash = true; vu = true; testDevs = true; killmic = false; recMp3 = true; recOgg = true; recPCM = false; showUnavail = false; autoconn = false; autohide = false; // Backwards compatibility warn_poor = warn_drop = true; lim_poor = 0.92; lim_drop = 0.78; Logger.app.a("Base LSSettings ready, doing init"); init(); }
public LSSettings() { s_devRec = s_devMic = s_devOut = ""; micLeft = true; micRight = false; mp3 = new LSParams(); mp3.enabled = true; mp3.compression = LSCompression.cbr; mp3.bitrate = 192; mp3.quality = 2; mp3.channels = LSChannels.stereo; mp3.ext = "mp3"; ogg = new LSParams(); ogg.enabled = false; ogg.compression = LSCompression.q; ogg.bitrate = 192; ogg.quality = 5; ogg.channels = LSChannels.stereo; ogg.ext = "ogg"; samplerate = 44100; reverbP = 0; reverbS = 90; serverPresets = new List <LSServerPreset>(); host = "become.stream.r-a-d.io"; port = 1337; user = "******"; pass = "******"; mount = "main"; relay = LSRelay.ice; title = "Loopstream"; description = "Cave Explorer Committee"; genre = "Post-Avant Jazzcore"; url = "https://github.com/9001/loopstream"; pubstream = false; latin = false; tagAuto = true; meta = new LSMeta(); metas = new List <LSMeta>(); triggers = new List <LSTrigger>(); resetPresets(); //presets[0] = new LSPreset(1, 1, 0.32, 1, true, true, true); //DEBUG //presets[0] = new LSPreset(0.5, 0.875, 0.32, 0.75, true, true, true); //DEBUG mixer = new LSPreset(); mixer.apply(presets[0]); splash = true; vu = true; testDevs = true; killmic = false; recMp3 = true; recOgg = true; recPCM = false; showUnavail = false; autoconn = false; autohide = false; // Backwards compatibility warn_poor = warn_drop = true; lim_poor = 0.92; lim_drop = 0.78; Logger.app.a("Base LSSettings ready, doing init"); init(); }