Windows programming

Moderators: None (Apply to moderate this forum)
Number of threads: 3670
Number of posts: 9122

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Edit Report
waveOut functions for win32 applications Posted by Noby on 1 May 2000 at 7:25 PM
Hi,<br>
I have a few questions concerning the WaveOut... function available for VC++ that are cannot be found in the libraries.<br>
<br>
1. Is there any delay from the time I invoke waveOutWrite, and send the audio to the device, to the time the sound device plays the sound out of the speakers.<br>
<br>
2. Is there a minimum buffer size for the audio buffer that is sent to the device, in order to play it proper, or is that a specification with <br>
in the sound device.<br>
<br>
I am asking these questions because currently, I am creating a basic voice conference software for a project and I need to find out these technical<br>
details to eliminate some latency problems. I would like to know what happens to the audio buffer in memory once it is sent to the device for playback.<br>
<br>
- Is the entire buffer locked in memory while device is playing it? Or is <br>
a set number of bytes of memory in the vicinity of the data the sound is <br>
currently playing that gets locked?<br>
<br>
- I am not sure if these properties are set within the win32 API or with <br>
the sound device themselves but if you can shed some light on some of the <br>
questions I have, answers or sources of information that can possible <br>
lead to the answers, I would greatly appreciate it. <br>
<br>
Thanks,<br>
Noby





 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.