[Clam-devel] multiple ports

Dirk Griffioen dirk.griffioen at barcelonamedia.org
Mon May 18 09:48:17 PDT 2009


Hi,

Attached  a new patch for the multiports functionality.

When NetworkEditor loads a file it checks for 'AudioIn/Out' string, if 
present then an alert is presented to the user that the network will be 
updated when saved.

If you dont save then the clamfnetwork file is left untouched.

If you save, the clamnetwork file is updated to use '0', '1' etc as 
portnames and you will not need the clamrefactor.oy script.

You can add more ports to an existing source/sink and this will be save 
correctly, as internally the port is called '0' and new ports number on 
(1, 2, etc).

It might be possible to give the user choice in wheter or not the file 
should be saved in the new format, however, you then will get a mixed 
situation with old and new portnames which is kind of a kludge ...

Best, Dirk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: multiple.patch
Type: text/x-patch
Size: 32441 bytes
Desc: not available
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20090518/999cb857/attachment-0003.bin>


More information about the clam-devel mailing list