| author | SED4906 <sed4906birdie@gmail.com> | 2025-11-18 10:37:20.0 -08:00:00 |
|---|---|---|
| committer | waddlesplash <waddlesplash@gmail.com> | 2025-11-19 19:40:16.0 +00:00:00 |
| commit | e7275c4d6481dd1d330873a4e684715acee60d9e [patch] |
|
| tree | 54a9fe062cb4c2407e5592993cb0ce6f5ba835dc |
|
| parent | f12a8a2c1470d51208dd0883ca7213d32dba1e85 |
|
| download | e7275c4d6481dd1d330873a4e684715acee60d9e.tar.gz |
|
notification_server: Fix sound playback
Change-Id: I25e1a2aa24174d9d704615ce5f389db453f8736e Reviewed-on: https://review.haiku-os.org/c/haiku/+/9893 Reviewed-by: waddlesplash <waddlesplash@gmail.com> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: nephele nephele <nep-git@packageloss.eu>
Diff
src/servers/notification/NotificationServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/servers/notification/NotificationServer.cpp b/src/servers/notification/NotificationServer.cpp index 9850fbc..5748e37 100644 --- a/src/servers/notification/NotificationServer.cpp +++ b/src/servers/notification/NotificationServer.cpp @@ -60,7 +60,7 @@ // Emit a sound for this event int32 type = 0; if (message->FindInt32("type", &type) == B_OK) { if (message->FindInt32("_type", &type) == B_OK) { if (type < (int32)(sizeof(kSoundNames) / sizeof(const char*))) system_beep(kSoundNames[type]); }