[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Getting start/end moments from an Audio_element_info???
From: |
Reinhold Kainhofer |
Subject: |
Getting start/end moments from an Audio_element_info??? |
Date: |
Mon, 16 Nov 2009 19:54:12 +0100 |
User-agent: |
KMail/1.12.2 (Linux/2.6.31-14-generic; KDE/4.3.2; i686; ; ) |
-----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
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.
So, given an Audio_element_info, how can I determine the moment of the
associated stream event? (I actually need the end moment, but that can be
easily obtained by adding the length/duration, once I'm able to get the onset
moment.)
Thanks a lot,
Reinhold
- --
- ------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
* Financial & Actuarial Math., Vienna Univ. of Technology, Austria
* http://www.fam.tuwien.ac.at/, DVR: 0005886
* LilyPond, Music typesetting, http://www.lilypond.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFLAZ/XTqjEwhXvPN0RAqdQAJ0Xpv6Am+pBwDVjT4GDxPJ9sMGNNQCfTgKv
yK+V1p+GdqMPDj6wGtcrVBE=
=z4oL
-----END PGP SIGNATURE-----
- Getting start/end moments from an Audio_element_info???,
Reinhold Kainhofer <=