Ejemplo n.º 1
0
        public override double Now()
        {
            double result = 0;

            if (m_AudioQueue == null)
            {
                return(result);
            }

            AudioQueueTimeline timeline  = m_AudioQueue.CreateTimeline();
            AudioTimeStamp     timestamp = new AudioTimeStamp();
            bool t = false;

            m_AudioQueue.GetCurrentTime(timeline, ref timestamp, ref t);
            return(timestamp.SampleTime / m_SampleFormat.Rate * 1000);
        }