Computing.Net > Forums > Programming > waveOutGetPosition() maximum return

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

waveOutGetPosition() maximum return

Reply to Message Icon

Original Message
Name: Stephen Hall
Date: February 13, 2004 at 12:36:21 Pacific
Subject: waveOutGetPosition() maximum return
OS: Windows XP Pro
CPU/Ram: 2.6Ghz P4, 512MB
Comment:

Hey all,

I'm using waveOutGetPosition() to determine how many samples I've played so far, but it seems to "wrap over" at 2^27 samples. Has anybody else run into this or can confirm this? I'm playing a constant stream of audio which commonly approaches 2-3 hours of playback, so I do hit the "wrap over" point everytime. I use the number of samples to keep track of how much time is left on the current file in the stream.
I've tried to make myself clear, but if I'm not, please let me know. I really need to get this job done and this problem is preventing me from doing so.

Thanks,

Stephen Hall


Report Offensive Message For Removal








Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home








Do you have your own blog?

Yes
No
I did before
I will soon


View Results

Poll Finishes In 4 Days.
Discuss in The Lounge
Poll History




Data Recovery Software