Opened 17 years ago
Last modified 5 years ago
#1902 assigned bug
[Media_Server] play StartUp sound on sucessful start/restart
Reported by: | cebif | Owned by: | korli |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Servers/media_server | Version: | R1/Development |
Keywords: | Cc: | mdisreali@…, black.belt.jimmy@…, ttcoder | |
Blocked By: | Blocking: | #4440, #6519 | |
Platform: | All |
Description (last modified by )
If I copy some *wav sounds to /boot/beos/etc/sounds, then apply wav sounds to events in Sounds preferences application, when any event occurs that is set with a sound it wont play.If I reboot the BeStartup.wav wont play if I have set it.
To reproduce:
1) Open Preferences/Sounds.
2) Assign a *wav sound like BeStartup.wav to BeStartup.
3) Close the Sounds application.
4) Reboot
On reboot the BeStartup.wav sound does not play. This is reproduceable every time. On openning Preferences Sounds the assigned sound is seen to be still set but it wont play. A sound will play if you click play in the Sounds application though. The version I was testing was: hrev24280 on its own partition.
Change History (19)
comment:1 by , 15 years ago
Blocking: | 4440 added |
---|
comment:2 by , 15 years ago
Description: | modified (diff) |
---|
follow-ups: 4 12 comment:3 by , 15 years ago
Startup sound is not implemented in Haiku. The event is there but nothing in the code actually tries to play it (in BeOS, the media server is the one that plays this sound when it starts). Here with me it works perfectly when I set the system beep, for example.
comment:4 by , 15 years ago
Replying to bga:
Startup sound is not implemented in Haiku.
Should this be a "known issue" for the release notes?
comment:5 by , 15 years ago
I guess so. On the other hand, actually adding it should be a pretty simple change.
comment:6 by , 15 years ago
Not that we have a start-up sound right now, but it would be great for r1a1 users to be able to 'hear' the desktop come up.
comment:7 by , 15 years ago
Summary: | Sounds wont play when set for events in Preferences, Sounds → Startup sound wont play when set for events in Preferences, Sounds |
---|
This is pretty trivial to implement: we just have to decide WHO should play the sound. IOW: just calling system_beep("startup") (or whatever it's called) should do the trick. Should the media_server do that ? or the media_addon_server ? or the tracker ?
comment:8 by , 15 years ago
Component: | Preferences/Sounds → - General |
---|---|
Owner: | changed from | to
comment:10 by , 15 years ago
Cc: | added |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
Version: | R1/pre-alpha1 → R1/Development |
comment:12 by , 14 years ago
Component: | - General → Servers/media_server |
---|---|
Summary: | Startup sound wont play when set for events in Preferences, Sounds → [Media_Server] play StartUp sound on sucessful start/restart |
Replying to bga:
Startup sound is not implemented in Haiku. The event is there but nothing in the code actually tries to play it (in BeOS, the media server is the one that plays this sound when it starts).
BeOS also played the StartUp sound every time one pressed the "Restart Media Services" button in the Media preflet and the service successfully restarted. As it currently is with hrev40230, I have no idea if sound actually works when I startup nor when I restart the media service. I have to open the Sounds preflet and attempt to play a sound there to determine if the media service is working properly. We should just duplicate the BeOS behaviour of having media_server play the StartUp sound every time. That way one can hear if the sound actually works, and if not can just press the restart button again until a sound plays.
comment:13 by , 14 years ago
Owner: | changed from | to
---|---|
Status: | reopened → assigned |
Of course, the media_server is supposed to play the startup sound on every launch. I assign this one to korli, as I think he actually implemented this a while ago (it might just not work anymore for whatever reason).
In any case, again, the problem you describe is still a bug, and cannot be used as an argument for the viability of any feature.
comment:14 by , 12 years ago
The "Startup" sound does not plays for me when media_server (re)starts.
comment:15 by , 10 years ago
Cc: | added |
---|
comment:16 by , 10 years ago
I think this bug is caused by the delay of the media_server at startup. In my pc with HDA audio if i try to play audio just once the media_server has been restarted there are circa 10 seconds of silence. This is not a delay itself, but the MediaPlayer begin to play and in 5-10 secs the audio begin to work. I don't know if it's caused by the timesource behaving uncorrectly or more probably the audio mixer not correctly operating at startup.
comment:17 by , 6 years ago
Blocking: | 6519 added |
---|
comment:19 by , 5 years ago
Cc: | added |
---|
(In #4440) Duplicate of #1902.