sculpt: add Play and Record session

Issue genodelabs/genode#5167.
This commit is contained in:
Josef Söntgen 2024-02-27 17:41:22 +01:00 committed by Christian Helmuth
parent b9c8c8c2a5
commit 489d87c4b0
3 changed files with 9 additions and 1 deletions

View File

@ -572,6 +572,8 @@ void Depot_deploy::Child::gen_start_node(Xml_generator &xml,
_gen_provides_sub_node(xml, service, "cpu", "CPU");
_gen_provides_sub_node(xml, service, "rtc", "Rtc");
_gen_provides_sub_node(xml, service, "capture", "Capture");
_gen_provides_sub_node(xml, service, "play", "Play");
_gen_provides_sub_node(xml, service, "record", "Record");
});
});
}

View File

@ -55,6 +55,8 @@ struct Sculpt::Route : List_model<Route>::Element
case Service::Type::PIN_CONTROL: return "pin_control";
case Service::Type::VM: return "vm";
case Service::Type::PD: return "pd";
case Service::Type::PLAY: return "play";
case Service::Type::RECORD: return "record";
case Service::Type::UNDEFINED: break;
}
return "undefined";
@ -88,6 +90,8 @@ struct Sculpt::Route : List_model<Route>::Element
case Service::Type::PIN_CONTROL: return "GPIO pin control";
case Service::Type::VM: return "Hardware-based virtualization";
case Service::Type::PD: return "Protection domain";
case Service::Type::PLAY: return "Play";
case Service::Type::RECORD: return "Record";
case Service::Type::UNDEFINED: break;
}
return "<undefined>";

View File

@ -28,7 +28,7 @@ struct Sculpt::Service
enum class Type {
AUDIO_IN, AUDIO_OUT, BLOCK, EVENT, CAPTURE, FILE_SYSTEM, NIC, GUI, GPU,
RM, IO_MEM, IO_PORT, IRQ, REPORT, ROM, TERMINAL, TRACE, USB, RTC,
PLATFORM, PIN_STATE, PIN_CONTROL, VM, PD, UPLINK, UNDEFINED };
PLATFORM, PIN_STATE, PIN_CONTROL, VM, PD, UPLINK, PLAY, RECORD, UNDEFINED };
enum class Match_label { EXACT, LAST };
@ -69,6 +69,8 @@ struct Sculpt::Service
case Type::PIN_CONTROL: return "Pin_control";
case Type::VM: return "VM";
case Type::PD: return "PD";
case Type::PLAY: return "Play";
case Type::RECORD: return "Record";
case Type::UNDEFINED: break;
}
return "undefined";