We are developing an application which many customers want to run on Windows 2003 Terminal Server.
The first problem was stuttering which we fixed by setting the Buffersize to 400.
The other problem is much harder to solve. We need to sync text and sound and the problem is that the Terminal server thinks that the sound has finished playing before it has finished playing on the client.
First we thought that this could not be solved on the Terminal server, but then we experienced that speech output works correctly (using SAPI). So there must be a way to fix this.
Brett: Is there any chance of looking into Terminal server issues in the EX release of FMOD ? Remember that more and more companies use Terminal server now.
- ddebono asked 13 years ago
The things we experience are only happening on Terminal Server and not when playing locally.
So it has something to do with the way Terminal Server works.
No, the CPU load is very low. And the stuttering only occurs on TS.
We are loading multiple samples (sample_load), and then playing them back using playsound. One word can consist of several samples.
To experience this for yourself you have to try it on TS.
Terminal Server (TS) is built-into all the Windows server products (W2K Server, Windows 2003)
Many companies use this for central application sharing. The programs run on the server and not on the client. Just the display and inputs are sent between the client and server. The advantage is that the IT department have full control and need not to worry about users messing up their workstation. TS are often run from thin clients.
http://www.microsoft.com/seminar/shared … nifest.xml
FMOD_Sample_Load loads the file from the server when it starts to play and doesn’t store the whole file in memory.
Download the samples to your hardrive or into memory.
If in memory then use the FSOUND_LOADMEMORY in ‘inputmode’
Maybe that helps
The FSOUND_GW2D and FSOUND_HW3D helped to remove the stuttering without changing the SetBufferSize.
We are using FSOUND_Sample_Load and FSOUND_PlaySound
The problem now is that it takes about 1.5 seconds from the PlaySound is called until it starts the sound output. This is not acceptable since we are syncing a word with the sound.
And the end of song status is set before the sound has finished playing.
Any ideas ?
Please login first to submit.