AudioDevice playback time information?
AudioDevice playback time information?
- Subject: AudioDevice playback time information?
- From: Vyacheslav Karamov <email@hidden>
- Date: Fri, 23 May 2008 15:03:36 +0300
Hi All!
How to obtain correct Audio Device playback time information in
milliseconds?
I have found AudioDeviceGetCurrentTime() function, but I don't
understand how can I use it to retrieve current playback time.
P.S. In Windows its very easy
// Get playback position in milliseconds
DWORD CWinPlayer::GetPlaybackPositionMS()
{
MMTIME mm;
mm.wType = TIME_MS;
::waveOutGetPosition(m_hPlayDevice, &mm, sizeof(mm));
return mm.u.ms;
}
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden