Questions tagged [waveoutwrite]

The tag has no usage guidance.

waveoutwrite
Filter by
Sorted by
Tagged with
0 votes
0 answers
29 views

Is There A Way To Stop Occurence Of The Exception "WaveStillPlaying calling waveOutWrite"?

I am trying to create Music Player with visualizations such as wave view, spectrum view etc. When I debug the program, I get an Exception "WaveStillPlaying Calling waveOutWrite". I checked ...
Coding Master's user avatar
5 votes
3 answers
2k views

Double-buffered waveOutWrite() stuttering like hell

[The mystery has been solved; for those looking for an explanation, it is at the bottom of this post] Below is a Windows tone generator I am trying to write using Windows waveOut*() functions. ...
hidefromkgb's user avatar
  • 5,874
0 votes
1 answer
171 views

WaveOutWrite direct from Webcam audio capture callback

I'm capturing audiodata from Webcam, using VFW and on audio capture Callback, and at the same time, inside the body of the same capture Callback, direct the sampled data to default MAPPER, using ...
user avatar
0 votes
1 answer
480 views

How to P/Invoke WaveOut API on Windows CE 6.0 R3

How to P/Invoke WaveOut API on Windows CE 6.0 R3 ? When I put this [DllImport("winmm.dll", SetLastError = true, CharSet = CharSet.Auto)] public static extern MMRESULT waveOutOpen(ref IntPtr hWaveOut,...
Patrik's user avatar
  • 1,326
1 vote
2 answers
3k views

What is the smallest audio buffer needed to produce Tone sound without distotions with WaveOUT API

Does the WaveOut API has some internal limitation of the size for the current piece of buffer played ? I mean if I provide a very small buffer does it affects somehow the sound played to the speakers. ...
Patrik's user avatar
  • 1,326
2 votes
3 answers
3k views

Problem with waveOutWrite and waveOutGetPosition deadlock

I'm working on an app that plays audio continuously using the waveOut... API from winmm.dll. The app uses "leapfrog" buffers, which are basically a bunch of arrays of samples that you dump into the ...
MusiGenesis's user avatar
  • 74.8k
6 votes
1 answer
1k views

How long is the delay between Control.Invoke() and the calling of its Delegate?

I have a code engine that plays long WAV files by playing smaller chunks in succession using the waveOutOpen and waveOutWrite API methods. In order to update my UI as the file plays, from the ...
MusiGenesis's user avatar
  • 74.8k
2 votes
2 answers
2k views

Query wave format for a HWAVEOUT handle

Context: I have a piece of code that knows the value of a waveOut handle (HWAVEOUT). However the code did not create the handle, thus the WAVEFORMATEX that was passed to waveOutOpen when creating the ...
Dan Cristoloveanu's user avatar
1 vote
3 answers
3k views

What is the latency (or delay) time for callbacks from the waveOutWrite API method?

I'm having a debate with some developers on another forum about accurately generating MIDI events (Note On messages and so forth). The human ear is pretty sensitive to slight timing inaccuracies, and ...
MusiGenesis's user avatar
  • 74.8k
13 votes
9 answers
6k views

Why would waveOutWrite() cause an exception in the debug heap?

While researching this issue, I found multiple mentions of the following scenario online, invariably as unanswered questions on programming forums. I hope that posting this here will at least serve to ...