[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Getting start/end moments from an Audio_element_info???
From: |
Han-Wen Nienhuys |
Subject: |
Re: Getting start/end moments from an Audio_element_info??? |
Date: |
Mon, 16 Nov 2009 22:29:49 -0200 |
On Mon, Nov 16, 2009 at 4:54 PM, Reinhold Kainhofer
<address@hidden> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> while trying to fix some MIDI issues, I've now run into the problem that in a
> performer's acknowledge_audio_element method I need to calculate the offset of
> the current Audio_element_info to a past info. Unfortunately, I couldn't find
The audio element might not contain that information, but can't you
just do performer->now_mom() to get the current moment?
> any property or part of Audio_element_info that stores the moment when the
> even occurs. I also couldn't find any stream event property giving the moment
> when the stream property occurs.
--
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen