On Fri, Jan 12, 2001 at 12:18:20PM -0800, Mike Smith wrote:
# 
# You can ensure the serial output is drained with tcdrain().  There's is 
# probably an interface for checking the status of the sound buffer.

Yes, this appears to have done the trick.

# Looking in sys/soundcard.h, I would suggest calling SNDCTL_DSP_GETOSPACE 
# while the card is idle to determine the total amount of output space, 
# then poll while you're waiting for the sample play to end until it 
# returns to the "empty" level.

I'll give this one a shot shortly.  Thanks Mike. :)

-steve


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to