Re: [linux-audio-dev] questions to be resolved

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] questions to be resolved
From: Paul Davis (pbd_AT_Op.Net)
Date: Tue May 22 2001 - 17:16:28 EEST


>> thats one of the problems, but its not actually the one i was
>> describing. changing a parameter on the engine is one thing, but i
>> suspect that changing the entire signal graph (e.g. by creating a new
>> connection between ports which requires resorting the plugin execution
>> list and potentially allocating/assigning new buffers) is not well
>> solved by the method you outlined.
>
>The argument being?

That changing the signal flow graph potentially affects many more data
structures than altering a parameter of the engine. That means that
making a copy of the graph is quite likely to be rather expensive, and
still requires a mutex when you switch to the new version unless the
architecture has an atomic pointer swap instruction.

As I've said here before, my analog gear typically clicks when I plug
things into my patch bay. I don't have a problem with occasional
momentary clicks caused by graph resorting when I connect two ports
together. it won't always happen, and in fact, i'd expect most of the
time that it wouldn't (since the audio thread is often asleep).

--p


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Tue May 22 2001 - 17:51:36 EEST