fix visual focus indication in IOSelector; import pays attention to audio file embedd...
[ardour.git] / libs / ardour / ardour / audio_unit.h
index a007f41d2b6bdcc1ceab0b616edda961e02d317a..a3d6074722bb53d7d3164a028dd0b88f55ac2e87 100644 (file)
@@ -1,6 +1,6 @@
 /*
     Copyright (C) 2006 Paul Davis 
-       Written by Taybin Rutkin
+    Written by Taybin Rutkin
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -54,7 +54,7 @@ class AUPlugin : public ARDOUR::Plugin
        const char * maker () const;
        uint32_t parameter_count () const;
        float default_value (uint32_t port);
-       jack_nframes_t latency () const;
+       nframes_t latency () const;
        void set_parameter (uint32_t which, float val);
        float get_parameter (uint32_t which) const;
     
@@ -62,12 +62,10 @@ class AUPlugin : public ARDOUR::Plugin
        uint32_t nth_parameter (uint32_t which, bool& ok) const;
        void activate ();
        void deactivate ();
-       void set_block_size (jack_nframes_t nframes);
+       void set_block_size (nframes_t nframes);
     
-       int connect_and_run (vector<Sample*>& bufs, uint32_t maxbuf, int32_t& in, int32_t& out, jack_nframes_t nframes, jack_nframes_t offset);
+       int connect_and_run (vector<Sample*>& bufs, uint32_t maxbuf, int32_t& in, int32_t& out, nframes_t nframes, nframes_t offset);
        std::set<uint32_t> automatable() const;
-       void store_state (ARDOUR::PluginState&);
-       void restore_state (ARDOUR::PluginState&);
        string describe_parameter (uint32_t);
        string state_node_name () const { return "audiounit"; }
        void print_parameter (uint32_t, char*, uint32_t len) const;