fix: Update system-level branding in PiPedalCommon (hotspot/ALSA names, service group, device name)
- WifiConfigSettings.hpp: default hotspot 'pipedal' -> 'op-pedal' - WifiDirectConfigSettings.hpp: default hotspot 'pipedal' -> 'op-pedal' - WifiDirectConfigSettings.cpp: default device name 'PiPedal' -> 'OP-Pedal' - ServiceConfiguration.hpp: deviceName 'PiPedal' -> 'OP-Pedal' - ServiceConfiguration.cpp: group name 'pipedal_d' -> 'oppedal_d' - AlsaSequencer.cpp: ALSA client/port/queue names 'PiPedal' -> 'OP-Pedal' (5 occurrences)
This commit is contained in:
@@ -275,9 +275,9 @@ namespace pipedal
|
||||
{
|
||||
Lv2Log::warning("Failed resize the ALSA sequencer input buffer: %s", snd_strerror(rc));
|
||||
}
|
||||
snd_seq_set_client_name(seqHandle, "PiPedal");
|
||||
snd_seq_set_client_name(seqHandle, "OP-Pedal");
|
||||
|
||||
inPort = snd_seq_create_simple_port(seqHandle, "PiPedal:in",
|
||||
inPort = snd_seq_create_simple_port(seqHandle, "OP-Pedal:in",
|
||||
SND_SEQ_PORT_CAP_WRITE | SND_SEQ_PORT_CAP_SUBS_WRITE,
|
||||
SND_SEQ_PORT_TYPE_MIDI_GENERIC |
|
||||
SND_SEQ_PORT_TYPE_MIDI_GM | SND_SEQ_PORT_TYPE_APPLICATION);
|
||||
@@ -651,7 +651,7 @@ namespace pipedal
|
||||
// Create a new queue if we don't have one yet
|
||||
if (queueId < 0)
|
||||
{
|
||||
queueId = snd_seq_alloc_named_queue(seqHandle, "PiPedal Realtime Queue");
|
||||
queueId = snd_seq_alloc_named_queue(seqHandle, "OP-Pedal Realtime Queue");
|
||||
if (queueId < 0)
|
||||
{
|
||||
throw std::runtime_error(SS("Failed to create ALSA queue: " << snd_strerror(queueId)));
|
||||
@@ -862,7 +862,7 @@ namespace pipedal
|
||||
snd_seq_set_client_name(seqHandle, "Device Monitor");
|
||||
|
||||
int inPort = snd_seq_create_simple_port(
|
||||
seqHandle, "PiPedal:portMonitor",
|
||||
seqHandle, "OP-Pedal:portMonitor",
|
||||
SND_SEQ_PORT_CAP_WRITE | SND_SEQ_PORT_CAP_SUBS_WRITE,
|
||||
SND_SEQ_PORT_TYPE_APPLICATION);
|
||||
if (inPort < 0)
|
||||
@@ -973,7 +973,7 @@ namespace pipedal
|
||||
// Create a new queue if we don't have one yet
|
||||
int queueId = -1;
|
||||
{
|
||||
queueId = snd_seq_alloc_named_queue(seqHandle, "PiPedal Device Monitor Queue");
|
||||
queueId = snd_seq_alloc_named_queue(seqHandle, "OP-Pedal Device Monitor Queue");
|
||||
if (queueId < 0)
|
||||
{
|
||||
throw std::runtime_error(SS("Failed to create ALSA queue: " << snd_strerror(queueId)));
|
||||
|
||||
Reference in New Issue
Block a user