For some reason I can't reply or post in the X1000 forum.
But in my (very recent) X1000 install the SoundPlayer was at the top of the startup-sequence, like one would expect so it plays while loading everything. (I read some had it at the top and some after LoadWB). However, it scratches a bit while the WB screen opens and I believe it is something as simple as a too small AHI buffer in the SoundPlayer, so it simply stutters a bit, that's all.
Too small buffer on the scratchy X1000 boot sound.
Re: Too small buffer on the scratchy X1000 boot sound.
Can you fix it?
Works after LoadWB, scratchy after setpatch.
Works after LoadWB, scratchy after setpatch.
Re: Too small buffer on the scratchy X1000 boot sound.
I guess you are talking about this thread:
http://forum.hyperion-entertainment.biz ... =33&t=1339
http://forum.hyperion-entertainment.biz ... =33&t=1339
Re: Too small buffer on the scratchy X1000 boot sound.
@ChrisH
Yes, that's the thread. Seems like LoadWB is so CPU heavy when opening the screen and lauching all WBStartup apps at once that it cause the SoundPlayer to stutter a bit (in my guess because of a relativey small AHI buffer).
Yes, that's the thread. Seems like LoadWB is so CPU heavy when opening the screen and lauching all WBStartup apps at once that it cause the SoundPlayer to stutter a bit (in my guess because of a relativey small AHI buffer).
- tonyw
- AmigaOS Core Developer
- Posts: 1483
- Joined: Wed Mar 09, 2011 1:36 pm
- Location: Sydney, Australia
Re: Too small buffer on the scratchy X1000 boot sound.
The soundplayer loads one second of audio (from disk) at a time and double-buffers it (same logic and code as PlayCD).
If sound stutters, it is probably because something is running at a high priority for seconds at a time.
If sound stutters, it is probably because something is running at a high priority for seconds at a time.
cheers
tony
tony
Re: Too small buffer on the scratchy X1000 boot sound.
When LoadWB runs it launches (in my case) 14 programs at the same time which all will load a set of libraries and stuff for the first time. Doing something like that could get any player with only 1 second disk buffer to stutter. I suggest increasing its buffer to 5 seconds.
In the meantime I will do some experimentation with ChangeTaskPri around Run SoundPlayer.
In the meantime I will do some experimentation with ChangeTaskPri around Run SoundPlayer.