Results 1 to 4 of 4

Thread: [RESOLVED] WaveOut API and Progressbar

Threaded View

  1. #3

    Thread Starter
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Re: WaveOut API and Progressbar

    Your code example looks correct except I get a return error 1 which is:

    MMSYSERR_ERROR Unspecified Error

    I know that hWaveOut is correct because it is the same value I get when I open the device using...

    lngReturn = waveOutOpen(hWaveOut, lngDevOutIndex, VarPtr(WaveFormat), 0, 0, 0)

    ...so I know that's not the problem

    In the above lngReturn = 0 and hWaveOut = 2010632 and that's the same value in hWaveOut argument of waveOutGetPosition

    Also, I know the Time format is supported because after the function is called .wType = 1 which is TIME_MS and Micro Soft says that if the format is not supported you will get a substitute format
    Last edited by jmsrickland; May 22nd, 2013 at 05:48 PM.


    Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width