mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-19 21:26:26 +01:00
another lua convenience API
This commit is contained in:
parent
2ff63925c2
commit
ed25eec79b
2 changed files with 12 additions and 0 deletions
|
|
@ -43,6 +43,12 @@ namespace ARDOUR { namespace LuaAPI {
|
||||||
*/
|
*/
|
||||||
int datatype_ctor_midi (lua_State *L);
|
int datatype_ctor_midi (lua_State *L);
|
||||||
|
|
||||||
|
/** Create a null processor shared pointer
|
||||||
|
*
|
||||||
|
* This is useful for Track:bounce() to indicate no processing.
|
||||||
|
*/
|
||||||
|
boost::shared_ptr<ARDOUR::Processor> nil_processor ();
|
||||||
|
|
||||||
/** create a new Lua Processor (Plugin)
|
/** create a new Lua Processor (Plugin)
|
||||||
*
|
*
|
||||||
* @param s Session Handle
|
* @param s Session Handle
|
||||||
|
|
|
||||||
|
|
@ -61,6 +61,12 @@ ARDOUR::LuaAPI::datatype_ctor_midi (lua_State *L)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
boost::shared_ptr<Processor>
|
||||||
|
ARDOUR::LuaAPI::nil_processor ()
|
||||||
|
{
|
||||||
|
return boost::shared_ptr<Processor> ();
|
||||||
|
}
|
||||||
|
|
||||||
boost::shared_ptr<Processor>
|
boost::shared_ptr<Processor>
|
||||||
ARDOUR::LuaAPI::new_luaproc (Session *s, const string& name)
|
ARDOUR::LuaAPI::new_luaproc (Session *s, const string& name)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue