Page 1 of 1

Too small buffer on the scratchy X1000 boot sound.

Posted: Tue Oct 23, 2012 6:31 pm
by Deniil
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.

Re: Too small buffer on the scratchy X1000 boot sound.

Posted: Tue Oct 23, 2012 9:12 pm
by ddni
Can you fix it?
Works after LoadWB, scratchy after setpatch.

Re: Too small buffer on the scratchy X1000 boot sound.

Posted: Wed Oct 24, 2012 9:42 am
by ChrisH
I guess you are talking about this thread:
http://forum.hyperion-entertainment.biz ... =33&t=1339

Re: Too small buffer on the scratchy X1000 boot sound.

Posted: Wed Oct 24, 2012 12:57 pm
by Deniil
@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).

Re: Too small buffer on the scratchy X1000 boot sound.

Posted: Wed Oct 24, 2012 11:40 pm
by tonyw
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.

Re: Too small buffer on the scratchy X1000 boot sound.

Posted: Sat Nov 03, 2012 2:47 pm
by Deniil
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.