1.1.30 Dark mode for android app.
This commit is contained in:
+5
-5
@@ -107,7 +107,7 @@ namespace pipedal {
|
||||
class UiFileProperty {
|
||||
private:
|
||||
std::string label_;
|
||||
std::int64_t index_ = -1;
|
||||
std::int32_t index_ = -1;
|
||||
std::string directory_;
|
||||
std::vector<UiFileType> fileTypes_;
|
||||
std::string patchProperty_;
|
||||
@@ -120,7 +120,7 @@ namespace pipedal {
|
||||
|
||||
|
||||
const std::string &label() const { return label_; }
|
||||
int64_t index() const { return index_; }
|
||||
int32_t index() const { return index_; }
|
||||
const std::string &directory() const { return directory_; }
|
||||
const std::string&portGroup() const { return portGroup_; }
|
||||
|
||||
@@ -137,7 +137,7 @@ namespace pipedal {
|
||||
class UiFrequencyPlot {
|
||||
private:
|
||||
std::string patchProperty_;
|
||||
std::int64_t index_ = -1;
|
||||
std::int32_t index_ = -1;
|
||||
std::string portGroup_;
|
||||
float xLeft_ = 100;
|
||||
float xRight_ = 22000;
|
||||
@@ -152,11 +152,11 @@ namespace pipedal {
|
||||
const std::filesystem::path&resourcePath);
|
||||
|
||||
const std::string &patchProperty() const { return patchProperty_; }
|
||||
int64_t index() const { return index_; }
|
||||
int32_t index() const { return index_; }
|
||||
const std::string&portGroup() const { return portGroup_; }
|
||||
float xLeft() const { return xLeft_; }
|
||||
float xRight() const { return xRight_; }
|
||||
float xLog() const { return xLog_; }
|
||||
bool xLog() const { return xLog_; }
|
||||
float yTop() const { return yTop_; }
|
||||
float yBottom() const { return yBottom_; }
|
||||
float width() const { return width_; }
|
||||
|
||||
+2
-1
@@ -105,6 +105,7 @@ void PluginHost::SetConfiguration(const PiPedalConfiguration &configuration)
|
||||
|
||||
void PluginHost::LilvUris::Initialize(LilvWorld *pWorld)
|
||||
{
|
||||
isA = lilv_new_uri(pWorld, "http://www.w3.org/1999/02/22-rdf-syntax-ns#type");
|
||||
rdfs__Comment = lilv_new_uri(pWorld, PluginHost::RDFS__comment);
|
||||
rdfs__range = lilv_new_uri(pWorld, PluginHost::RDFS__range);
|
||||
port_logarithmic = lilv_new_uri(pWorld, LV2_PORT_PROPS__logarithmic);
|
||||
@@ -591,7 +592,7 @@ std::shared_ptr<PiPedalUI> Lv2PluginInfo::FindWritablePathProperties(PluginHost
|
||||
AutoLilvNode propertyUri = lilv_nodes_get(patchWritables, iNode);
|
||||
if (propertyUri)
|
||||
{
|
||||
// isA lv2:Parameter?
|
||||
// a lv2:Parameter?
|
||||
if (lilv_world_ask(pWorld, propertyUri, lv2Host->lilvUris.isA, lv2Host->lilvUris.lv2core__Parameter))
|
||||
{
|
||||
// rfs:range atom:Path?
|
||||
|
||||
@@ -634,6 +634,7 @@ void json_reader::throw_format_error(const char*error)
|
||||
|
||||
}
|
||||
|
||||
|
||||
// void json_writer::write(const json_variant &value)
|
||||
// {
|
||||
// ((JsonSerializable *)&value)->write_json(*this);
|
||||
|
||||
+2
-4
@@ -700,12 +700,9 @@ int main(int argc, char *argv[])
|
||||
{
|
||||
// wait up to 15 seconds for the midi device to come online.
|
||||
auto devices = model.GetAlsaDevices();
|
||||
bool firstMessage = true;
|
||||
bool found = false;
|
||||
if (!HasAlsaDevice(devices, serverSettings.GetAlsaInputDevice()))
|
||||
{
|
||||
if (firstMessage) Lv2Log::info(SS("Waiting for ALSA device " << serverSettings.GetAlsaInputDevice() << " to come online..."));
|
||||
firstMessage = false;
|
||||
for (int i = 0; i < 5; ++i)
|
||||
{
|
||||
sleep(3);
|
||||
@@ -717,10 +714,11 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
if (g_SigBreak)
|
||||
exit(1);
|
||||
if (systemd)
|
||||
if (!systemd)
|
||||
{
|
||||
break;
|
||||
}
|
||||
Lv2Log::info(SS("Waiting for ALSA device " << serverSettings.GetAlsaInputDevice() << " to come online..."));
|
||||
}
|
||||
if (found)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user