comparison README @ 62:fe5486ee1c70 host-factory-stuff

* Documentation
author cannam
date Fri, 01 Jun 2007 15:00:51 +0000
parents fa79c4ec847d
children
comparison
equal deleted inserted replaced
61:97c5ac99d725 62:fe5486ee1c70
74 should link with -lvamp-sdk. 74 should link with -lvamp-sdk.
75 75
76 Hosts may use the Vamp::PluginHostAdapter to convert the loaded 76 Hosts may use the Vamp::PluginHostAdapter to convert the loaded
77 plugin's C API back into a Vamp::Plugin object. Hosts should link 77 plugin's C API back into a Vamp::Plugin object. Hosts should link
78 with -lvamp-hostsdk. 78 with -lvamp-hostsdk.
79
80 * vamp-sdk/hostext
81
82 Additional C++ classes to make a host's life easier.
83
84 Vamp::HostExt::PluginLoader provides a very simple interface for a
85 host to discover, load, and find out category information about the
86 available plugins. Most "casual" Vamp hosts will probably want to use
87 this class.
88
89 Vamp::HostExt::PluginInputDomainAdapter provides a simple means for
90 hosts to handle plugins that expect frequency-domain input, without
91 having to convert the input themselves.
92
93 Vamp::HostExt::PluginChannelAdapter provides a simple means for hosts
94 to use plugins that do not necessarily support the same number of
95 audio channels as they have available, without having to apply a
96 channel management / mixdown policy themselves.
97
98 The PluginLoader can use the input domain and channel adapters
99 automatically to make the entire conversion process transparent to the
100 host if required.
79 101
80 * examples 102 * examples
81 103
82 Example plugins implemented using the C++ classes. ZeroCrossing 104 Example plugins implemented using the C++ classes. ZeroCrossing
83 calculates the positions and density of zero-crossing points in an 105 calculates the positions and density of zero-crossing points in an