mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 19:19:30 +00:00
SoundPlayer: Pledge proc so that we can actually open audio files
This commit is contained in:
parent
a5dfd5eeb6
commit
18c559b0e3
Notes:
sideshowbarker
2024-07-17 05:09:48 +09:00
Author: https://github.com/ADKaster
Commit: 18c559b0e3
Pull-request: https://github.com/SerenityOS/serenity/pull/16657
Reviewed-by: https://github.com/kleinesfilmroellchen ✅
1 changed files with 2 additions and 2 deletions
|
@ -26,13 +26,13 @@
|
|||
|
||||
ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||
{
|
||||
TRY(Core::System::pledge("stdio recvfd sendfd rpath thread unix"));
|
||||
TRY(Core::System::pledge("stdio recvfd sendfd rpath thread unix proc"));
|
||||
|
||||
auto app = TRY(GUI::Application::try_create(arguments));
|
||||
auto audio_client = TRY(Audio::ConnectionToServer::try_create());
|
||||
auto decoder_client = TRY(ImageDecoderClient::Client::try_create());
|
||||
|
||||
TRY(Core::System::pledge("stdio recvfd sendfd rpath thread"));
|
||||
TRY(Core::System::pledge("stdio recvfd sendfd rpath thread proc"));
|
||||
|
||||
auto app_icon = GUI::Icon::default_icon("app-sound-player"sv);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue