navik6459 / darkbasicpro

Automatically exported from code.google.com/p/darkbasicpro
0 stars 0 forks source link

There is a consistent 150 millisecond delay for the 'stop recording sound' command #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Begin recording a sound with the 'record sound' command.
2. wait for the sounds duration, either idling or processing sound input data.
3. Rig a timer that checks the duration of the 'stop recording sound' command.  
There is a consistent delay of about 150-200 milliseconds for the stop 
recording sound command to work.  Changing the duration of the sound doesn't 
change the delay.

What is the expected output? What do you see instead?
I expected the program to run smoothly and record a sound while processing and 
graphing the previous sounds input.  The delay in the 'stop recording sound' 
command causes the program to hiccup.  This delay takes time away that could 
have been used for recording a user's continuous speech.  The unwanted delay 
doesn't seem necessary because its generally the same length even when changing 
the recorded sound's duration to ten times its initial value.

What version of the product are you using? On what operating system?
Dark Basic Pro 1.074 with Upgrade 7.61
Windows 7

Original issue reported on code.google.com by CalebNad...@aol.com on 7 Nov 2011 at 8:54