• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
AudioDevice playback time information?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: AudioDevice playback time information?
      • From: Vyacheslav Karamov <email@hidden>
  • Prev by Date: Problems creating MIDI GarageBand will accept
  • Next by Date: Re: Problems creating MIDI GarageBand will accept
  • Previous by thread: Re: Problems creating MIDI GarageBand will accept
  • Next by thread: Re: AudioDevice playback time information?
  • Index(es):
    • Date
    • Thread