mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:47:35 +00:00
SoundPlayer: Pledge proc so that we can actually open audio files
This commit is contained in:
parent
a5dfd5eeb6
commit
18c559b0e3
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