[linux-audio-dev] XAP: a polemic
Paul Davis
paul at linuxaudiosystems.com
Sun Dec 15 21:19:00 UTC 2002
>> >this is the best suggestion so far. i love callbacks. note that
>> >"meter" includes both tempo and time signature. you knew that,
>> > though. i can't see anyone wanting to use TIME_TICKS.
>> >
>> >--p
>>
>> Callbacks do make sense here, I agree.
>
>I disagree. Callbacks are not sample accurate.
i was assuming that the callback would be executed so that it was
passed the audio frame at which the change occurs.
>Either way, the only callback I see in that proposal is the host one
>to "register" for these events... Did I miss something?
my definition of callback:
register_callback (function_to_be_called_when, when_to_call_it);
the name "callback" is based on a style of telephone interaction:
no callbacks:
Paul: hi David, is audiality is available?
David: its not.
with callbacks:
Paul: hi David, please call me back at +1 610-667-4807
when audiality is available.
[ ... time passes ... ]
[ ... david calls ... ]
David: its available.
or alternatively:
David: it will be available in 5 minutes.
--p
More information about the Linux-audio-dev
mailing list