ardour
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
ARDOUR Namespace Reference

Namespaces

 Properties
 

Classes

class  Amp
 
class  Analyser
 
class  AnyTime
 
class  AsyncMIDIPort
 
class  AudioAnalyser
 
class  AudioBackend
 
struct  AudioBackendInfo
 
class  AudioBuffer
 
class  AudioDiskstream
 
class  AudioEngine
 
class  AudioFileSource
 
class  AudiofileTagger
 Class with static functions for tagging audiofiles. More...
 
class  AudioLibrary
 
class  AudioPlaylist
 
class  AudioPlaylistImporter
 
class  AudioPlaylistImportHandler
 
class  AudioPlaylistSource
 
class  AudioPort
 
struct  AudioRange
 
class  AudioRegion
 
class  AudioRegionImporter
 
class  AudioRegionImportHandler
 
class  AudioSource
 
class  AudioTrack
 
class  AudioTrackImporter
 
class  AudioTrackImportHandler
 
class  Auditioner
 
struct  AUParameterDescriptor
 
class  AUPlugin
 
struct  AUPluginCachedInfo
 
class  AUPluginInfo
 
class  AutoBundle
 
class  Automatable
 
class  AutomatableSequence
 
class  AutomationControl
 
class  AutomationList
 
class  AutomationListProperty
 
class  AutomationWatch
 
class  BeatsFramesConverter
 
class  BroadcastInfo
 
class  Buffer
 
class  BufferManager
 
class  BufferSet
 
class  Bundle
 
class  BundleChannel
 
struct  BusProfile
 
class  Butler
 
class  CAImportableSource
 
class  CapturingProcessor
 
class  ChanCount
 
class  ChanMapping
 
struct  CleanupReport
 
class  Click
 
class  ClickIO
 
class  ComparableSharedPtr
 
class  ControlProtocolInfo
 
class  ControlProtocolManager
 
class  CoreAudioSource
 
class  CubicInterpolation
 
class  CubicMidiInterpolation
 
class  DataType
 
class  DelayLine
 
class  Delivery
 
class  Diskstream
 
class  DoubleBeatsFramesConverter
 
class  ElementImporter
 Virtual interface class for element importers. More...
 
class  ElementImportHandler
 Virtual interface class for element import handlers. More...
 
class  Engine_Slave
 
class  EventRingBuffer
 
class  EventTypeMap
 
class  ExportChannel
 Export channel base class interface for different source types. More...
 
class  ExportChannelConfiguration
 
class  ExportElementFactory
 
class  ExportFailed
 
class  ExportFilename
 
class  ExportFormat
 Base class for formats. More...
 
class  ExportFormatBase
 
class  ExportFormatBWF
 
class  ExportFormatCompatibility
 Allows adding to all sets. A format should be able to test if it is compatible with this. More...
 
class  ExportFormatFLAC
 
class  ExportFormatIncompatible
 
class  ExportFormatLinear
 
class  ExportFormatManager
 
class  ExportFormatOggVorbis
 
class  ExportFormatSpecification
 
class  ExportGraphBuilder
 
class  ExportHandler
 
class  ExportPreset
 
class  ExportProfileManager
 Manages (de)serialization of export profiles and related classes. More...
 
class  ExportStatus
 
class  ExportTimespan
 
class  FileSource
 
class  Filter
 
class  Graph
 
class  GraphEdges
 
class  GraphNode
 
class  HasSampleFormat
 Class to be inherited by export formats that have a selectable sample format. More...
 
class  ImportableSource
 
class  ImportStatus
 
class  InstrumentInfo
 
class  InternalReturn
 
class  InternalSend
 
class  Interpolation
 
class  InterThreadInfo
 
class  IO
 
struct  IOChange
 
class  IOProcessor
 
class  ISlaveSessionProxy
 We need this wrapper for testability, it's just too hard to mock up a session class. More...
 
struct  JackCommandLineOptions
 
class  LadspaPlugin
 
class  LadspaPluginInfo
 
struct  LatencyRange
 
class  Latent
 
class  Legatize
 
class  LinearInterpolation
 
class  Location
 
class  LocationImporter
 
class  LocationImportHandler
 
class  Locations
 
struct  LocationSortByStart
 
class  LogCurve
 
class  LogCurveIn
 
class  LogCurveOut
 
class  LTC_Slave
 
class  LV2Plugin
 
class  LV2PluginInfo
 
class  LXVSTPlugin
 
class  LXVSTPluginInfo
 
class  Meter
 
class  MeterSection
 
class  MetricSection
 
class  MidiAutomationListBinder
 
class  MidiBuffer
 
class  MidiChannelFilter
 
class  MIDIClock_Slave
 
class  MIDIClock_SlaveTest
 
class  MidiClockTicker
 
class  MidiControlUI
 
class  MidiDiskstream
 
class  MIDIDM
 
class  MidiModel
 
class  MidiOperator
 
class  MidiPlaylist
 
class  MidiPlaylistSource
 
class  MidiPort
 
class  MidiPortManager
 
class  MidiRegion
 
singleton  MidiRingBuffer
 
class  MIDISceneChange
 
class  MIDISceneChanger
 
class  MidiSource
 
class  MidiStateTracker
 
class  MidiStretch
 
class  MidiTrack
 
struct  MidiUIRequest
 
class  MissingSource
 
class  MonitorProcessor
 
class  Movable
 
class  MPControl
 
class  MTC_Slave
 
struct  MusicRange
 
class  MuteMaster
 
class  NoteFixer
 
class  OnsetDetector
 
class  PanControllable
 
class  Pannable
 
class  Panner
 
struct  PannerInfo
 
class  PannerManager
 
class  PannerShell
 
struct  ParameterDescriptor
 
struct  peak_data_t
 
struct  PeakData
 
class  PeakMeter
 
class  Pitch
 
class  Playlist
 
class  PlaylistFactory
 
class  PlaylistSource
 
class  Plugin
 
class  PluginInfo
 
class  PluginInsert
 
class  PluginManager
 
class  Port
 
class  PortEngine
 
class  PortExportChannel
 Basic export channel that reads from AudioPorts. More...
 
class  PortInsert
 
class  PortManager
 
class  PortSet
 
class  Processor
 
class  ProcessThread
 
class  Progress
 
class  ProxyControllable
 
class  PublicDiskstream
 
class  Quantize
 
class  RBEffect
 
class  RCConfiguration
 
class  Readable
 
class  Region
 
class  RegionExportChannel
 Export channel that reads from region channel. More...
 
class  RegionExportChannelFactory
 Handles RegionExportChannels and does actual reading from region. More...
 
class  RegionFactory
 
class  RegionListProperty
 
struct  RegionSortByLayer
 
struct  RegionSortByLayerAndPosition
 
struct  RegionSortByPosition
 
class  ResampledImportableSource
 
class  Return
 
class  Reverse
 
class  Route
 
class  RouteExportChannel
 Export channel for exporting from different positions in a route. More...
 
class  RouteGroup
 
class  RouteGroupMember
 
struct  RouteProcessorChange
 
class  RuntimeProfile
 
struct  SafeTime
 
class  SceneChange
 
class  SceneChanger
 
class  Send
 
class  Session
 
class  SessionConfiguration
 
class  SessionDirectory
 
class  SessionEvent
 
class  SessionEventManager
 
class  SessionHandlePtr
 
class  SessionHandleRef
 
class  SessionMetadata
 
class  SessionObject
 
class  SessionPlaylists
 
struct  SignalOrderRouteSorter
 
class  SilentFileSource
 
class  Slave
 The Slave interface can be used to sync ARDOURs tempo to an external source like MTC, MIDI Clock, etc. More...
 
class  SlaveSessionProxy
 The Session Proxy for use in real Ardour. More...
 
class  SMFSource
 
class  SndFileImportableSource
 
class  SndFileSource
 
class  Sound
 
struct  SoundFileInfo
 
class  SoundPlaylist
 
class  Source
 
class  SourceFactory
 
class  Speaker
 
class  Speakers
 
class  SrcFileSource
 
class  StripSilence
 A filter to strip silence from regions. More...
 
class  STStretch
 
class  SystemExec
 
class  TapeFileMatcher
 
struct  TemplateInfo
 
class  Tempo
 
class  TempoMap
 
class  TempoMapImporter
 
class  TempoMapImportHandler
 
class  TempoMetric
 
class  TempoSection
 
class  TestSlaveSessionProxy
 
class  ThreadBuffers
 
class  TimecodeSlave
 
struct  TimeFXRequest
 
class  Track
 
class  Transform
 
class  TransientDetector
 
class  Trimmable
 
class  UnknownProcessor
 
class  UnusedAudioPlaylistImportHandler
 
class  URIMap
 
class  UserBundle
 
class  Variant
 
class  VSTPlugin
 
class  WindowsVSTPlugin
 
class  WindowsVSTPluginInfo
 
class  Workee
 
class  Worker
 

Typedefs

typedef boost::shared_ptr
< AUPlugin
AUPluginPtr
 
typedef boost::shared_ptr
< AUPluginInfo
AUPluginInfoPtr
 
typedef ComparableSharedPtr
< ExportChannel
ExportChannelPtr
 
typedef ComparableSharedPtr
< ExportTimespan
ExportTimespanPtr
 
typedef boost::shared_ptr
< ExportChannelConfiguration
ExportChannelConfigPtr
 
typedef boost::shared_ptr
< ExportFormatBase
ExportFormatBasePtr
 
typedef boost::shared_ptr
< ExportFormat
ExportFormatPtr
 
typedef boost::shared_ptr
< ExportFormatSpecification
ExportFormatSpecPtr
 
typedef boost::shared_ptr
< ExportFormatCompatibility
ExportFormatCompatibilityPtr
 
typedef boost::shared_ptr
< ExportFilename
ExportFilenamePtr
 
typedef boost::shared_ptr
< ExportStatus
ExportStatusPtr
 
typedef boost::shared_ptr
< ExportPreset
ExportPresetPtr
 
typedef boost::weak_ptr
< ExportFormatCompatibility
WeakExportFormatCompatibilityPtr
 
typedef boost::weak_ptr
< ExportFormat
WeakExportFormatPtr
 
typedef boost::shared_ptr
< AudioGrapher::BroadcastInfo > 
BroadcastInfoPtr
 
typedef boost::shared_ptr
< GraphNode
node_ptr_t
 
typedef std::list< node_ptr_tnode_list_t
 
typedef std::set< node_ptr_tnode_set_t
 
typedef std::map< std::string,
std::string > 
device_map_t
 
typedef boost::shared_ptr
< LadspaPluginInfo
LadspaPluginInfoPtr
 
typedef boost::shared_ptr
< LV2PluginInfo
LV2PluginInfoPtr
 
typedef std::map< std::string,
std::string > 
PannerUriMap
 
typedef std::map< const
std::string, const float > 
ScalePoints
 
typedef boost::shared_ptr< PluginPluginPtr
 
typedef boost::shared_ptr
< PluginInfo
PluginInfoPtr
 
typedef std::list< PluginInfoPtrPluginInfoList
 
typedef std::deque< std::pair
< std::string, std::string > > 
RecentSessions
 
typedef boost::shared_ptr< RouteGraphVertex
 
typedef float(* compute_peak_t )(const ARDOUR::Sample *, pframes_t, float)
 
typedef void(* find_peaks_t )(const ARDOUR::Sample *, pframes_t, float *, float *)
 
typedef void(* apply_gain_to_buffer_t )(ARDOUR::Sample *, pframes_t, float)
 
typedef void(* mix_buffers_with_gain_t )(ARDOUR::Sample *, const ARDOUR::Sample *, pframes_t, float)
 
typedef void(* mix_buffers_no_gain_t )(ARDOUR::Sample *, const ARDOUR::Sample *, pframes_t)
 
typedef gint16 peak_datum
 
typedef std::list
< MetricSection * > 
Metrics
 
typedef float Sample
 
typedef float pan_t
 
typedef float gain_t
 
typedef uint32_t layer_t
 
typedef uint64_t microseconds_t
 
typedef uint32_t pframes_t
 
typedef int64_t framepos_t
 
typedef int64_t frameoffset_t
 
typedef int64_t framecnt_t
 
typedef std::list< std::pair
< frameoffset_t, frameoffset_t > > 
AudioIntervalResult
 
typedef std::map
< boost::shared_ptr
< ARDOUR::Region >
, AudioIntervalResult
AudioIntervalMap
 
typedef std::list
< boost::shared_ptr< Region > > 
RegionList
 
typedef std::vector
< boost::shared_ptr< Source > > 
SourceList
 
typedef std::list< framepos_tAnalysisFeatureList
 
typedef std::list
< boost::shared_ptr< Route > > 
RouteList
 
typedef std::list
< boost::weak_ptr< Route > > 
WeakRouteList
 
typedef std::vector
< boost::shared_ptr< Bundle > > 
BundleList
 

Enumerations

enum  PluginType {
  AudioUnit, LADSPA, LV2, Windows_VST,
  LXVST
}
 
enum  InsertMergePolicy {
  InsertMergeReject, InsertMergeRelax, InsertMergeReplace, InsertMergeTruncateExisting,
  InsertMergeTruncateAddition, InsertMergeExtend
}
 
enum  AutomationType {
  NullAutomation, GainAutomation, PanAzimuthAutomation, PanElevationAutomation,
  PanWidthAutomation, PanFrontBackAutomation, PanLFEAutomation, PluginAutomation,
  PluginPropertyAutomation, SoloAutomation, MuteAutomation, MidiCCAutomation,
  MidiPgmChangeAutomation, MidiPitchBenderAutomation, MidiChannelPressureAutomation, MidiSystemExclusiveAutomation,
  FadeInAutomation, FadeOutAutomation, EnvelopeAutomation, RecEnableAutomation,
  TrimAutomation
}
 
enum  AutoState { Off = 0x0, Write = 0x1, Touch = 0x2, Play = 0x4 }
 
enum  AutoStyle { Absolute = 0x1, Trim = 0x2 }
 
enum  AlignStyle { CaptureTime, ExistingMaterial }
 
enum  AlignChoice { UseCaptureTime, UseExistingMaterial, Automatic }
 
enum  MeterPoint {
  MeterInput, MeterPreFader, MeterPostFader, MeterOutput,
  MeterCustom
}
 
enum  MeterType {
  MeterMaxSignal = 0x0001, MeterMaxPeak = 0x0002, MeterPeak = 0x0004, MeterKrms = 0x0008,
  MeterK20 = 0x0010, MeterK14 = 0x0020, MeterIEC1DIN = 0x0040, MeterIEC1NOR = 0x0080,
  MeterIEC2BBC = 0x0100, MeterIEC2EBU = 0x0200, MeterVU = 0x0400, MeterK12 = 0x0800,
  MeterPeak0dB = 0x1000
}
 
enum  TrackMode { Normal, NonLayered, Destructive }
 
enum  NoteMode { Sustained, Percussive }
 
enum  ChannelMode { AllChannels = 0, FilterChannels, ForceChannel }
 
enum  ColorMode { MeterColors = 0, ChannelColors, TrackColor }
 
enum  RoundMode {
  RoundDownMaybe = -2, RoundDownAlways = -1, RoundNearest = 0, RoundUpAlways = 1,
  RoundUpMaybe = 2
}
 
enum  MeterFalloff {
  MeterFalloffOff = 0, MeterFalloffSlowest = 1, MeterFalloffSlow = 2, MeterFalloffSlowish = 3,
  MeterFalloffModerate = 4, MeterFalloffMedium = 5, MeterFalloffFast = 6, MeterFalloffFaster = 7,
  MeterFalloffFastest = 8
}
 
enum  MeterHold { MeterHoldOff = 0, MeterHoldShort = 40, MeterHoldMedium = 100, MeterHoldLong = 200 }
 
enum  EditMode { Slide, Splice, Ripple, Lock }
 
enum  RegionSelectionAfterSplit {
  None = 0, NewlyCreatedLeft = 1, NewlyCreatedRight = 2, NewlyCreatedBoth = 3,
  Existing = 4, ExistingNewlyCreatedLeft = 5, ExistingNewlyCreatedRight = 6, ExistingNewlyCreatedBoth = 7
}
 
enum  RegionPoint { Start, End, SyncPoint }
 
enum  Placement { PreFader, PostFader }
 
enum  MonitorModel { HardwareMonitoring, SoftwareMonitoring, ExternalMonitoring }
 
enum  MonitorChoice { MonitorAuto = 0, MonitorInput = 0x1, MonitorDisk = 0x2, MonitorCue = 0x4 }
 
enum  MonitorState { MonitoringSilence = 0x1, MonitoringInput = 0x2, MonitoringDisk = 0x4 }
 
enum  MeterState { MeteringInput, MeteringRoute }
 
enum  VUMeterStandard { MeteringVUfrench, MeteringVUamerican, MeteringVUstandard, MeteringVUeight }
 
enum  MeterLineUp { MeteringLineUp24, MeteringLineUp20, MeteringLineUp18, MeteringLineUp15 }
 
enum  PFLPosition { PFLFromBeforeProcessors, PFLFromAfterProcessors }
 
enum  AFLPosition { AFLFromBeforeProcessors, AFLFromAfterProcessors }
 
enum  DenormalModel { DenormalNone, DenormalFTZ, DenormalDAZ, DenormalFTZDAZ }
 
enum  RemoteModel { UserOrdered, MixerOrdered }
 
enum  LayerModel { LaterHigher, Manual }
 
enum  ListenPosition { AfterFaderListen, PreFaderListen }
 
enum  AutoConnectOption { ManualConnect = 0x0, AutoConnectPhysical = 0x1, AutoConnectMaster = 0x2 }
 
enum  SampleFormat { FormatFloat = 0, FormatInt24, FormatInt16 }
 
enum  CDMarkerFormat { CDMarkerNone, CDMarkerCUE, CDMarkerTOC, MP4Chaps }
 
enum  HeaderFormat {
  BWF, WAVE, WAVE64, CAF,
  AIFF, iXML, RF64
}
 
enum  RunContext { ButlerContext = 0, TransportContext, ExportContext }
 
enum  SyncSource {
  JACK = 0, Engine = 0, MTC, MIDIClock,
  LTC
}
 
enum  ShuttleBehaviour { Sprung, Wheel }
 
enum  ShuttleUnits { Percentage, Semitones }
 
enum  SrcQuality {
  SrcBest, SrcGood, SrcQuick, SrcFast,
  SrcFastest
}
 
enum  WaveformScale { Linear, Logarithmic }
 
enum  WaveformShape { Traditional, Rectified }
 
enum  PositionLockStyle { AudioTime, MusicTime }
 
enum  FadeShape {
  FadeLinear, FadeFast, FadeSlow, FadeConstantPower,
  FadeSymmetric
}
 
enum  TransportState { TransportStopped = 0, TransportRolling = 1, TransportLooping = 2, TransportStarting = 3 }
 
enum  PortFlags {
  IsInput = 0x1, IsOutput = 0x2, IsPhysical = 0x4, CanMonitor = 0x8,
  IsTerminal = 0x10
}
 
enum  VSTScanMode { VST_SCAN_CACHE_ONLY, VST_SCAN_USE_APP, VST_SCAN_INTERNAL }
 

Functions

LIBARDOUR_API bool init (bool with_vst, bool try_optimization, const char *localedir)
 
LIBARDOUR_API void init_post_engine ()
 
LIBARDOUR_API void cleanup ()
 
LIBARDOUR_API bool no_auto_connect ()
 
LIBARDOUR_API void make_property_quarks ()
 
LIBARDOUR_API void find_bindings_files (std::map< std::string, std::string > &)
 
LIBARDOUR_API std::string translation_enable_path ()
 
LIBARDOUR_API bool translations_are_enabled ()
 
LIBARDOUR_API bool set_translations_enabled (bool)
 
LIBARDOUR_API microseconds_t get_microseconds ()
 
LIBARDOUR_API void setup_fpu ()
 
LIBARDOUR_API std::vector
< SyncSource
get_available_sync_options ()
 
LIBARDOUR_API void check_for_old_configuration_files ()
 
LIBARDOUR_API int handle_old_configuration_files (boost::function< bool(std::string const &, std::string const &, int)> ui_handler)
 
LIBARDOUR_API std::string user_config_directory (int version=-1)
 
LIBARDOUR_API std::string user_cache_directory ()
 
LIBARDOUR_API std::string been_here_before_path (int version=-1)
 
LIBARDOUR_API std::string ardour_dll_directory ()
 
LIBARDOUR_API PBD::Searchpath ardour_config_search_path ()
 
LIBARDOUR_API PBD::Searchpath ardour_data_search_path ()
 
void get_jack_audio_driver_names (std::vector< std::string > &driver_names)
 
void get_jack_default_audio_driver_name (std::string &driver_name)
 
void get_jack_midi_system_names (const std::string &driver, std::vector< std::string > &driver_names)
 
void get_jack_default_midi_system_name (const std::string &driver_name, std::string &midi_system)
 
void get_jack_sample_rate_strings (std::vector< std::string > &sample_rates)
 
std::string get_jack_default_sample_rate ()
 
bool get_jack_sample_rate_value_from_string (const std::string &srs, uint32_t &srv)
 
void get_jack_period_size_strings (std::vector< std::string > &samplerates)
 
std::string get_jack_default_period_size ()
 
bool get_jack_period_size_value_from_string (const std::string &pss, uint32_t &psv)
 
void get_jack_dither_mode_strings (const std::string &driver, std::vector< std::string > &dither_modes)
 
std::string get_jack_default_dither_mode (const std::string &driver)
 
std::string get_jack_latency_string (std::string samplerate, float periods, std::string period_size)
 
bool jack_server_running ()
 
void get_jack_alsa_device_names (device_map_t &devices)
 
void get_jack_portaudio_device_names (device_map_t &devices)
 
void get_jack_coreaudio_device_names (device_map_t &devices)
 
void get_jack_oss_device_names (device_map_t &devices)
 
void get_jack_freebob_device_names (device_map_t &devices)
 
void get_jack_ffado_device_names (device_map_t &devices)
 
void get_jack_netjack_device_names (device_map_t &devices)
 
void get_jack_dummy_device_names (device_map_t &devices)
 
bool get_jack_device_names_for_audio_driver (const std::string &driver, device_map_t &devices)
 
std::vector< std::string > get_jack_device_names_for_audio_driver (const std::string &driver)
 
bool get_jack_audio_driver_supports_two_devices (const std::string &driver)
 
bool get_jack_audio_driver_supports_latency_adjustment (const std::string &driver)
 
bool get_jack_audio_driver_supports_setting_period_count (const std::string &driver)
 
bool get_jack_server_application_names (std::vector< std::string > &server_names)
 
void set_path_env_for_jack_autostart (const std::vector< std::string > &)
 
bool get_jack_server_dir_paths (std::vector< std::string > &server_dir_paths)
 
bool get_jack_server_paths (const std::vector< std::string > &server_dir_paths, const std::vector< std::string > &server_names, std::vector< std::string > &server_paths)
 
bool get_jack_server_paths (std::vector< std::string > &server_paths)
 
bool get_jack_default_server_path (std::string &server_path)
 
std::string get_jack_server_config_file_name ()
 
std::string get_jack_server_user_config_dir_path ()
 
std::string get_jack_server_user_config_file_path ()
 
bool write_jack_config_file (const std::string &config_file_path, const std::string &command_line)
 
bool get_jack_command_line_string (const JackCommandLineOptions &options, std::string &command_line)
 
const void * lv2plugin_get_port_value (const char *port_symbol, void *user_data, uint32_t *size, uint32_t *type)
 
uint8_t parameter_midi_type (AutomationType type)
 
AutomationType midi_parameter_type (uint8_t status)
 
Evoral::Parameter midi_parameter (const uint8_t *buf, const uint32_t len)
 
bool parameter_is_midi (AutomationType type)
 
PluginPtr find_plugin (ARDOUR::Session &, std::string unique_id, ARDOUR::PluginType)
 
LIBARDOUR_API int read_recent_sessions (RecentSessions &rs)
 
LIBARDOUR_API int store_recent_sessions (std::string name, std::string path)
 
LIBARDOUR_API int write_recent_sessions (RecentSessions &rs)
 
LIBARDOUR_API int remove_recent_sessions (const std::string &path)
 
LIBARDOUR_API const char * get_ardour_revision ()
 
boost::shared_ptr< RouteListtopological_sort (boost::shared_ptr< RouteList >, GraphEdges)
 
LIBARDOUR_API const char * vst_search_path ()
 
LIBARDOUR_API PBD::Searchpath backend_search_path ()
 
LIBARDOUR_API PBD::Searchpath control_protocol_search_path ()
 
LIBARDOUR_API PBD::Searchpath export_formats_search_path ()
 
LIBARDOUR_API PBD::Searchpath ladspa_search_path ()
 
LIBARDOUR_API PBD::Searchpath lv2_bundled_search_path ()
 
LIBARDOUR_API PBD::Searchpath midi_patch_search_path ()
 
LIBARDOUR_API PBD::Searchpath panner_search_path ()
 
LIBARDOUR_API PBD::Searchpath route_template_search_path ()
 
LIBARDOUR_API PBD::Searchpath template_search_path ()
 
void setup_enum_writer ()
 
LIBARDOUR_API bool create_backup_file (const std::string &file_path)
 
LIBARDOUR_API void get_state_files_in_directory (const std::string &directory_path, std::vector< std::string > &result)
 
LIBARDOUR_API std::vector
< std::string > 
get_file_names_no_extension (const std::vector< std::string > &file_paths)
 
LIBARDOUR_API int find_session (std::string str, std::string &path, std::string &snapshot, bool &isnew)
 
LIBARDOUR_API std::string system_template_directory ()
 
LIBARDOUR_API std::string system_route_template_directory ()
 
LIBARDOUR_API std::string user_template_directory ()
 
LIBARDOUR_API std::string user_route_template_directory ()
 
LIBARDOUR_API void find_route_templates (std::vector< TemplateInfo > &template_names)
 
LIBARDOUR_API void find_session_templates (std::vector< TemplateInfo > &template_names)
 
LIBARDOUR_API std::string session_template_dir_to_file (std::string const &)
 
std::string auto_state_to_string (AutoState)
 
AutoState string_to_auto_state (std::string)
 
std::string auto_style_to_string (AutoStyle)
 
AutoStyle string_to_auto_style (std::string)
 
int format_data_width (ARDOUR::SampleFormat)
 
LIBARDOUR_API std::string legalize_for_path (const std::string &str)
 
LIBARDOUR_API std::string legalize_for_universal_path (const std::string &str)
 
LIBARDOUR_API std::string legalize_for_uri (const std::string &str)
 
LIBARDOUR_API std::string legalize_for_path_2X (const std::string &str)
 
LIBARDOUR_API XMLNodefind_named_node (const XMLNode &node, std::string name)
 
LIBARDOUR_API std::string bool_as_string (bool)
 
static float f_max (float x, float a)
 
LIBARDOUR_API std::string bump_name_once (const std::string &s, char delimiter)
 
LIBARDOUR_API std::string bump_name_number (const std::string &s)
 
LIBARDOUR_API int cmp_nocase (const std::string &s, const std::string &s2)
 
LIBARDOUR_API int cmp_nocase_utf8 (const std::string &s1, const std::string &s2)
 
LIBARDOUR_API int touch_file (std::string path)
 
LIBARDOUR_API std::string region_name_from_path (std::string path, bool strip_channels, bool add_channel_suffix=false, uint32_t total=0, uint32_t this_one=0)
 
LIBARDOUR_API bool path_is_paired (std::string path, std::string &pair_base)
 
LIBARDOUR_API void compute_equal_power_fades (ARDOUR::framecnt_t nframes, float *in, float *out)
 
LIBARDOUR_API const char * sync_source_to_string (ARDOUR::SyncSource src, bool sh=false)
 
LIBARDOUR_API ARDOUR::SyncSource string_to_sync_source (std::string str)
 
LIBARDOUR_API const char * edit_mode_to_string (ARDOUR::EditMode)
 
LIBARDOUR_API ARDOUR::EditMode string_to_edit_mode (std::string)
 
static double gain_to_slider_position (ARDOUR::gain_t g)
 
static ARDOUR::gain_t slider_position_to_gain (double pos)
 
LIBARDOUR_API double gain_to_slider_position_with_max (double g, double max_gain=2.0)
 
LIBARDOUR_API double slider_position_to_gain_with_max (double g, double max_gain=2.0)
 
LIBARDOUR_API float meter_falloff_to_float (ARDOUR::MeterFalloff)
 
LIBARDOUR_API ARDOUR::MeterFalloff meter_falloff_from_float (float)
 
LIBARDOUR_API float meter_falloff_to_db_per_sec (float)
 
LIBARDOUR_API const char * native_header_format_extension (ARDOUR::HeaderFormat, const ARDOUR::DataType &type)
 
LIBARDOUR_API bool matching_unsuffixed_filename_exists_in (const std::string &dir, const std::string &name)
 
LIBARDOUR_API uint32_t how_many_dsp_threads ()
 
std::string value_as_string (const ARDOUR::ParameterDescriptor &desc, double v)
 
std::string value_as_string (const ARDOUR::ParameterDescriptor &desc, const ARDOUR::Variant &val)
 
LIBARDOUR_API std::string get_personal_vst_info_cache_dir ()
 
LIBARDOUR_API std::string get_personal_vst_blacklist_dir ()
 
LIBARDOUR_API void vstfx_free_info_list (std::vector< VSTInfo * > *infos)
 
static void snprintf_bounded_null_filled (char *target, size_t target_size, char const *fmt,...)
 
ChanCount infinity_factory ()
 
static std::string user_config_directory_name (int version=-1)
 
int find_session (string str, string &path, string &snapshot, bool &isnew)
 
static uint16_t force_mask (const ChannelMode mode, const uint16_t mask)
 
static bool sort_ports_by_name (boost::shared_ptr< Port > a, boost::shared_ptr< Port > b)
 
static bool sort_ports_by_type_and_name (boost::shared_ptr< Port > a, boost::shared_ptr< Port > b)
 
void get_state_files_in_directory (const std::string &directory_path, vector< std::string > &result)
 
vector< string > get_file_names_no_extension (const vector< std::string > &file_paths)
 
static bool template_filter (const string &str, void *)
 
static bool route_template_filter (const string &str, void *)
 
string session_template_dir_to_file (string const &dir)
 
void find_session_templates (vector< TemplateInfo > &template_names)
 
void find_route_templates (vector< TemplateInfo > &template_names)
 
static uint32_t c_uri_map_uri_to_id (LV2_URI_Map_Callback_Data callback_data, const char *map, const char *uri)
 
static LV2_URID c_urid_map (LV2_URID_Map_Handle handle, const char *uri)
 
static const char * c_urid_unmap (LV2_URID_Unmap_Handle handle, LV2_URID urid)
 
static string vstfx_cache_file (const char *dllpath, int personal, const char *ext)
 
static string vstfx_blacklist_path (const char *dllpath, int personal)
 
static string vstfx_infofile_path (const char *dllpath, int personal)
 
static string vstfx_errorfile_path (const char *dllpath, int personal)
 
static void vstfx_free_info (VSTInfo *info)
 
static void vstfx_clear_info_list (vector< VSTInfo * > *infos)
 
static char * read_string (FILE *fp)
 
static bool read_int (FILE *fp, int *n)
 
static bool vstfx_load_info_block (FILE *fp, VSTInfo *info)
 
static bool vstfx_load_info_file (FILE *fp, vector< VSTInfo * > *infos)
 
static void vstfx_write_info_block (FILE *fp, VSTInfo *info)
 
static void vstfx_write_info_file (FILE *fp, vector< VSTInfo * > *infos)
 
static bool vstfx_blacklist_stat (const char *dllpath, int personal)
 
static bool vstfx_check_blacklist (const char *dllpath)
 
static FILE * vstfx_blacklist_file (const char *dllpath)
 
static bool vstfx_blacklist (const char *dllpath)
 
static void vstfx_un_blacklist (const char *dllpath)
 
static void vstfx_remove_infofile (const char *dllpath)
 
static char * vstfx_infofile_stat (const char *dllpath, struct stat *statbuf, int personal)
 
static FILE * vstfx_infofile_for_read (const char *dllpath)
 
static FILE * vstfx_infofile_create (const char *dllpath, int personal)
 
static FILE * vstfx_infofile_for_write (const char *dllpath)
 
static bool vstfx_get_info_from_file (const char *dllpath, vector< VSTInfo * > *infos)
 
static bool vstfx_midi_input (VSTState *vstfx)
 
static bool vstfx_midi_output (VSTState *vstfx)
 
static intptr_t simple_master_callback (AEffect *, int32_t opcode, int32_t, intptr_t, void *ptr, float)
 
static VSTInfovstfx_parse_vst_state (VSTState *vstfx)
 
static void vstfx_info_from_plugin (const char *dllpath, VSTState *vstfx, vector< VSTInfo * > *infos, enum ARDOUR::PluginType type)
 
static void parse_scanner_output (std::string msg, size_t)
 
static void set_error_log (const char *dllpath)
 
static void close_error_log ()
 
static vector< VSTInfo * > * vstfx_get_info (const char *dllpath, enum ARDOUR::PluginType type, enum VSTScanMode mode)
 
void vstfx_free_info_list (vector< VSTInfo * > *infos)
 
void pingback (const string &version, const string &announce_path)
 
void pingback (const std::string &this_version, const std::string &announce_path)
 

Variables

LIBARDOUR_API PBD::Signal1
< void, std::string > 
BootMessage
 
LIBARDOUR_API PBD::Signal3
< void, std::string,
std::string, bool > 
PluginScanMessage
 
LIBARDOUR_API PBD::Signal1
< void, int > 
PluginScanTimeout
 
LIBARDOUR_API PBD::Signal0< void > GUIIdle
 
LIBARDOUR_API PBD::Signal3
< bool, std::string,
std::string, int > 
CopyConfigurationFiles
 
LIBARDOUR_API PBD::PropertyChange bounds_change
 
LIBARDOUR_API const char *const ardour_config_info
 
LIBARDOUR_API AudioLibraryLibrary = 0
 
LIBARDOUR_API const char *const old_sound_dir_name = X_("sounds")
 
LIBARDOUR_API const char *const sound_dir_name = X_("audiofiles")
 
LIBARDOUR_API const char *const ladspa_dir_name = X_("ladspa")
 
LIBARDOUR_API const char *const midi_dir_name = X_("midifiles")
 
LIBARDOUR_API const char *const midi_patch_dir_name = X_("patchfiles")
 
LIBARDOUR_API const char *const video_dir_name = X_("videofiles")
 
LIBARDOUR_API const char *const dead_dir_name = X_("dead")
 
LIBARDOUR_API const char *const interchange_dir_name = X_("interchange")
 
LIBARDOUR_API const char *const peak_dir_name = X_("peaks")
 
LIBARDOUR_API const char *const export_dir_name = X_("export")
 
LIBARDOUR_API const char *const export_formats_dir_name = X_("export")
 
LIBARDOUR_API const char *const templates_dir_name = X_("templates")
 
LIBARDOUR_API const char *const route_templates_dir_name = X_("route_templates")
 
LIBARDOUR_API const char *const surfaces_dir_name = X_("surfaces")
 
LIBARDOUR_API const char *const panner_dir_name = X_("panners")
 
LIBARDOUR_API const char *const backend_dir_name = X_("backends")
 
LIBARDOUR_API const char *const template_suffix = X_(".template")
 
LIBARDOUR_API const char *const statefile_suffix = X_(".ardour")
 
LIBARDOUR_API const char *const pending_suffix = X_(".pending")
 
LIBARDOUR_API const char *const peakfile_suffix = X_(".peak")
 
LIBARDOUR_API const char *const backup_suffix = X_(".bak")
 
LIBARDOUR_API const char *const temp_suffix = X_(".tmp")
 
LIBARDOUR_API const char *const history_suffix = X_(".history")
 
LIBARDOUR_API const char *const export_preset_suffix = X_(".preset")
 
LIBARDOUR_API const char *const export_format_suffix = X_(".format")
 
const char *const portaudio_driver_name
 
const char *const coreaudio_driver_name
 
const char *const alsa_driver_name
 
const char *const oss_driver_name
 
const char *const freebob_driver_name
 
const char *const ffado_driver_name
 
const char *const netjack_driver_name
 
const char *const dummy_driver_name
 
LIBARDOUR_API RuntimeProfileProfile = 0
 
LIBARDOUR_API RCConfigurationConfig = 0
 
LIBARDOUR_API gain_t speed_quietning = 0.251189
 
LIBARDOUR_API const char * revision = "4.0-313-ge73b4e6"
 
LIBARDOUR_API compute_peak_t compute_peak = 0
 
LIBARDOUR_API find_peaks_t find_peaks = 0
 
LIBARDOUR_API
apply_gain_to_buffer_t 
apply_gain_to_buffer = 0
 
LIBARDOUR_API
mix_buffers_with_gain_t 
mix_buffers_with_gain = 0
 
LIBARDOUR_API mix_buffers_no_gain_t mix_buffers_no_gain = 0
 
const uint32_t frames_per_peak = 2048
 
static const framepos_t max_framepos = INT64_MAX
 
static const framecnt_t max_framecnt = INT64_MAX
 
static const layer_t max_layer = UINT32_MAX
 
static int vstfx_current_loading_id = 0
 
static FILE * _errorlog_fd = 0
 
static char * _errorlog_dll = 0
 

Detailed Description

The `port matrix' UI. This is a widget which lets the user alter associations between one set of ports and another. e.g. to connect things together.

It is made up of a body, PortMatrixBody, which is rendered using cairo, and some scrollbars and other stuff. All of this is arranged inside the Table that we inherit from.

Typedef Documentation

Definition at line 530 of file types.h.

typedef void(* ARDOUR::apply_gain_to_buffer_t)(ARDOUR::Sample *, pframes_t, float)

Definition at line 30 of file runtime_functions.h.

Definition at line 85 of file types.h.

typedef std::list<std::pair<frameoffset_t, frameoffset_t> > ARDOUR::AudioIntervalResult

Definition at line 83 of file types.h.

Definition at line 275 of file audio_unit.h.

Definition at line 221 of file audio_unit.h.

typedef boost::shared_ptr<AudioGrapher::BroadcastInfo> ARDOUR::BroadcastInfoPtr

Definition at line 63 of file export_pointers.h.

Definition at line 535 of file types.h.

typedef float(* ARDOUR::compute_peak_t)(const ARDOUR::Sample *, pframes_t, float)

Definition at line 28 of file runtime_functions.h.

typedef std::map<std::string, std::string> ARDOUR::device_map_t

Key being a readable name to display in a GUI Value being name used in a jack commandline

Definition at line 115 of file jack_utils.h.

Definition at line 51 of file export_pointers.h.

Definition at line 46 of file export_pointers.h.

Definition at line 56 of file export_pointers.h.

Definition at line 52 of file export_pointers.h.

Definition at line 55 of file export_pointers.h.

Definition at line 53 of file export_pointers.h.

Definition at line 54 of file export_pointers.h.

Definition at line 58 of file export_pointers.h.

Definition at line 57 of file export_pointers.h.

Definition at line 49 of file export_pointers.h.

typedef void(* ARDOUR::find_peaks_t)(const ARDOUR::Sample *, pframes_t, float *, float *)

Definition at line 29 of file runtime_functions.h.

typedef int64_t ARDOUR::framecnt_t

Definition at line 76 of file types.h.

typedef int64_t ARDOUR::frameoffset_t

Definition at line 71 of file types.h.

typedef int64_t ARDOUR::framepos_t

Definition at line 66 of file types.h.

typedef float ARDOUR::gain_t

Definition at line 58 of file types.h.

Definition at line 29 of file route_graph.h.

Definition at line 158 of file ladspa_plugin.h.

typedef uint32_t ARDOUR::layer_t

Definition at line 59 of file types.h.

Definition at line 285 of file lv2_plugin.h.

typedef std::list<MetricSection*> ARDOUR::Metrics

Definition at line 168 of file tempo.h.

typedef uint64_t ARDOUR::microseconds_t

Definition at line 60 of file types.h.

typedef void(* ARDOUR::mix_buffers_no_gain_t)(ARDOUR::Sample *, const ARDOUR::Sample *, pframes_t)

Definition at line 32 of file runtime_functions.h.

typedef void(* ARDOUR::mix_buffers_with_gain_t)(ARDOUR::Sample *, const ARDOUR::Sample *, pframes_t, float)

Definition at line 31 of file runtime_functions.h.

typedef std::list< node_ptr_t > ARDOUR::node_list_t

Definition at line 52 of file graph.h.

Definition at line 48 of file graph.h.

typedef std::set< node_ptr_t > ARDOUR::node_set_t

Definition at line 53 of file graph.h.

typedef float ARDOUR::pan_t

Definition at line 57 of file types.h.

typedef std::map<std::string,std::string> ARDOUR::PannerUriMap

Definition at line 32 of file panner_manager.h.

typedef gint16 ARDOUR::peak_datum

Definition at line 27 of file soundseq.h.

typedef uint32_t ARDOUR::pframes_t

Definition at line 61 of file types.h.

Definition at line 90 of file plugin.h.

Definition at line 89 of file plugin.h.

Definition at line 50 of file plugin.h.

typedef std::deque<std::pair<std::string,std::string> > ARDOUR::RecentSessions

Definition at line 30 of file recent_sessions.h.

Definition at line 87 of file types.h.

Definition at line 532 of file types.h.

typedef float ARDOUR::Sample

Definition at line 54 of file types.h.

typedef std::map<const std::string, const float> ARDOUR::ScalePoints

Definition at line 30 of file parameter_descriptor.h.

Definition at line 520 of file types.h.

Definition at line 60 of file export_pointers.h.

Definition at line 61 of file export_pointers.h.

Definition at line 533 of file types.h.

Enumeration Type Documentation

Enumerator
AFLFromBeforeProcessors 

AFL signals come post-fader and before post-fader processors

AFLFromAfterProcessors 

AFL signals come post-fader but after post-fader processors

Definition at line 425 of file types.h.

Enumerator
UseCaptureTime 
UseExistingMaterial 
Automatic 

Definition at line 168 of file types.h.

Enumerator
CaptureTime 
ExistingMaterial 

Definition at line 163 of file types.h.

Enumerator
ManualConnect 
AutoConnectPhysical 
AutoConnectMaster 

Definition at line 454 of file types.h.

See evoral/Parameter.hpp

Enumerator
NullAutomation 
GainAutomation 
PanAzimuthAutomation 
PanElevationAutomation 
PanWidthAutomation 
PanFrontBackAutomation 
PanLFEAutomation 
PluginAutomation 
PluginPropertyAutomation 
SoloAutomation 
MuteAutomation 
MidiCCAutomation 
MidiPgmChangeAutomation 
MidiPitchBenderAutomation 
MidiChannelPressureAutomation 
MidiSystemExclusiveAutomation 
FadeInAutomation 
FadeOutAutomation 
EnvelopeAutomation 
RecEnableAutomation 
TrimAutomation 

Definition at line 121 of file types.h.

Enumerator
Off 
Write 
Touch 
Play 

Definition at line 145 of file types.h.

Enumerator
Absolute 
Trim 

Definition at line 155 of file types.h.

Enumerator
CDMarkerNone 
CDMarkerCUE 
CDMarkerTOC 
MP4Chaps 

Definition at line 468 of file types.h.

Enumerator
AllChannels 

Pass through all channel information unmodified.

FilterChannels 

Ignore events on certain channels.

ForceChannel 

Force all events to a certain channel.

Definition at line 209 of file types.h.

Enumerator
MeterColors 
ChannelColors 
TrackColor 

Definition at line 215 of file types.h.

Enumerator
DenormalNone 
DenormalFTZ 
DenormalDAZ 
DenormalFTZDAZ 

Definition at line 432 of file types.h.

Enumerator
Slide 
Splice 
Ripple 
Lock 

Definition at line 351 of file types.h.

Enumerator
FadeLinear 
FadeFast 
FadeSlow 
FadeConstantPower 
FadeSymmetric 

Definition at line 592 of file types.h.

Enumerator
BWF 
WAVE 
WAVE64 
CAF 
AIFF 
iXML 
RF64 

Definition at line 475 of file types.h.

Enumerator
InsertMergeReject 
InsertMergeRelax 
InsertMergeReplace 
InsertMergeTruncateExisting 
InsertMergeTruncateAddition 
InsertMergeExtend 

Definition at line 110 of file types.h.

Enumerator
LaterHigher 
Manual 

Definition at line 444 of file types.h.

Enumerator
AfterFaderListen 
PreFaderListen 

Definition at line 449 of file types.h.

Enumerator
MeterFalloffOff 
MeterFalloffSlowest 
MeterFalloffSlow 
MeterFalloffSlowish 
MeterFalloffModerate 
MeterFalloffMedium 
MeterFalloffFast 
MeterFalloffFaster 
MeterFalloffFastest 

Definition at line 332 of file types.h.

Enumerator
MeterHoldOff 
MeterHoldShort 
MeterHoldMedium 
MeterHoldLong 

Definition at line 344 of file types.h.

Enumerator
MeteringLineUp24 
MeteringLineUp20 
MeteringLineUp18 
MeteringLineUp15 

Definition at line 411 of file types.h.

Enumerator
MeterInput 
MeterPreFader 
MeterPostFader 
MeterOutput 
MeterCustom 

Definition at line 174 of file types.h.

Enumerator
MeteringInput 

meter the input IO, regardless of what is going through the route

MeteringRoute 

meter what is going through the route

Definition at line 399 of file types.h.

Enumerator
MeterMaxSignal 
MeterMaxPeak 
MeterPeak 
MeterKrms 
MeterK20 
MeterK14 
MeterIEC1DIN 
MeterIEC1NOR 
MeterIEC2BBC 
MeterIEC2EBU 
MeterVU 
MeterK12 
MeterPeak0dB 

Definition at line 182 of file types.h.

Enumerator
MonitorAuto 
MonitorInput 
MonitorDisk 
MonitorCue 

Definition at line 386 of file types.h.

Enumerator
HardwareMonitoring 

JACK does monitoring.

SoftwareMonitoring 

Ardour does monitoring.

ExternalMonitoring 

we leave monitoring to the audio hardware

Definition at line 380 of file types.h.

Enumerator
MonitoringSilence 
MonitoringInput 
MonitoringDisk 

Definition at line 393 of file types.h.

Enumerator
Sustained 
Percussive 

Definition at line 204 of file types.h.

Enumerator
PFLFromBeforeProcessors 

PFL signals come from before pre-fader processors

PFLFromAfterProcessors 

PFL signals come pre-fader but after pre-fader processors

Definition at line 418 of file types.h.

Enumerator
PreFader 
PostFader 

Definition at line 375 of file types.h.

Enumerator
AudioUnit 
LADSPA 
LV2 
Windows_VST 
LXVST 

Definition at line 25 of file plugin_types.h.

Enumerator
IsInput 
IsOutput 
IsPhysical 
CanMonitor 
IsTerminal 

Definition at line 610 of file types.h.

Enumerator
AudioTime 
MusicTime 

Definition at line 553 of file types.h.

Enumerator
Start 
End 
SyncPoint 

Definition at line 369 of file types.h.

Enumerator
None 
NewlyCreatedLeft 
NewlyCreatedRight 
NewlyCreatedBoth 
Existing 
ExistingNewlyCreatedLeft 
ExistingNewlyCreatedRight 
ExistingNewlyCreatedBoth 

Definition at line 358 of file types.h.

Enumerator
UserOrdered 
MixerOrdered 

Definition at line 439 of file types.h.

Enumerator
RoundDownMaybe 

Round down only if necessary.

RoundDownAlways 

Always round down, even if on a division.

RoundNearest 

Round to nearest.

RoundUpAlways 

Always round up, even if on a division.

RoundUpMaybe 

Round up only if necessary.

Definition at line 221 of file types.h.

Enumerator
ButlerContext 
TransportContext 
ExportContext 

Definition at line 492 of file types.h.

Enumerator
FormatFloat 
FormatInt24 
FormatInt16 

Definition at line 460 of file types.h.

Enumerator
Sprung 
Wheel 

Definition at line 510 of file types.h.

Enumerator
Percentage 
Semitones 

Definition at line 515 of file types.h.

Enumerator
SrcBest 
SrcGood 
SrcQuick 
SrcFast 
SrcFastest 

Definition at line 522 of file types.h.

Enumerator
JACK 
Engine 
MTC 
MIDIClock 
LTC 

Definition at line 498 of file types.h.

Enumerator
Normal 
NonLayered 
Destructive 

Definition at line 198 of file types.h.

Enumerator
TransportStopped 
TransportRolling 
TransportLooping 
TransportStarting 

Definition at line 600 of file types.h.

Enumerator
VST_SCAN_CACHE_ONLY 
VST_SCAN_USE_APP 
VST_SCAN_INTERNAL 

Definition at line 32 of file vst_info_file.h.

Enumerator
MeteringVUfrench 
MeteringVUamerican 
MeteringVUstandard 
MeteringVUeight 

Definition at line 404 of file types.h.

Enumerator
Linear 
Logarithmic 

Definition at line 538 of file types.h.

Enumerator
Traditional 
Rectified 

Definition at line 543 of file types.h.

Function Documentation

Searchpath ARDOUR::ardour_config_search_path ( )
Returns
the search path to be used when looking for per-system configuration files. This may include user configuration files.

Definition at line 212 of file filesystem_paths.cc.

Searchpath ARDOUR::ardour_data_search_path ( )
Returns
the search path to be used when looking for data files that could be shared by systems (h/w and configuration independent files, such as icons, XML files, etc)

Definition at line 255 of file filesystem_paths.cc.

std::string ARDOUR::ardour_dll_directory ( )
Returns
the path to the directory that contains the system wide ardour modules.

Definition at line 185 of file filesystem_paths.cc.

string ARDOUR::auto_state_to_string ( AutoState  as)

Definition at line 585 of file utils.cc.

string ARDOUR::auto_style_to_string ( AutoStyle  as)

Definition at line 623 of file utils.cc.

Searchpath ARDOUR::backend_search_path ( )

return a SearchPath containing directories in which to look for backend plugins.

If ARDOUR_BACKEND_PATH is defined then the SearchPath returned will contain only those directories specified in it, otherwise it will contain the user and system directories which may contain audio/MIDI backends.

Definition at line 51 of file search_paths.cc.

string ARDOUR::been_here_before_path ( int  version = -1)
Returns
the path used to store a persistent indication that the given version of the program has been used before.
Parameters
versionis the version to check for. If unspecified, it defaults to the current (build-time) version of the program.

Definition at line 276 of file filesystem_paths.cc.

LIBARDOUR_API std::string ARDOUR::bool_as_string ( bool  )

Definition at line 642 of file utils.cc.

string ARDOUR::bump_name_number ( const std::string &  s)

Definition at line 200 of file utils.cc.

string ARDOUR::bump_name_once ( const std::string &  s,
char  delimiter 
)

Definition at line 158 of file utils.cc.

static uint32_t ARDOUR::c_uri_map_uri_to_id ( LV2_URI_Map_Callback_Data  callback_data,
const char *  map,
const char *  uri 
)
static

Definition at line 75 of file uri_map.cc.

static LV2_URID ARDOUR::c_urid_map ( LV2_URID_Map_Handle  handle,
const char *  uri 
)
static

Definition at line 97 of file uri_map.cc.

static const char* ARDOUR::c_urid_unmap ( LV2_URID_Unmap_Handle  handle,
LV2_URID  urid 
)
static

Definition at line 105 of file uri_map.cc.

void ARDOUR::check_for_old_configuration_files ( )

Definition at line 336 of file globals.cc.

void ARDOUR::cleanup ( )

Definition at line 502 of file globals.cc.

static void ARDOUR::close_error_log ( )
static

Definition at line 918 of file vst_info_file.cc.

LIBARDOUR_API int ARDOUR::cmp_nocase ( const std::string &  s,
const std::string &  s2 
)
LIBARDOUR_API int ARDOUR::cmp_nocase_utf8 ( const std::string &  s1,
const std::string &  s2 
)
void ARDOUR::compute_equal_power_fades ( ARDOUR::framecnt_t  nframes,
float *  in,
float *  out 
)

Definition at line 394 of file utils.cc.

Searchpath ARDOUR::control_protocol_search_path ( )

return a Searchpath containing directories in which to look for control surface plugins.

If ARDOUR_SURFACES_PATH is defined then the Searchpath returned will contain only those directories specified in it, otherwise it will contain the user and system directories which may contain control surface plugins.

Definition at line 62 of file search_paths.cc.

bool ARDOUR::create_backup_file ( const std::string &  file_path)

Attempt to create a backup copy of a file.

A copy of the file is created in the same directory using the same filename with the backup suffix appended.

Returns
true if successful, false otherwise.

Definition at line 41 of file session_state_utils.cc.

const char * ARDOUR::edit_mode_to_string ( ARDOUR::EditMode  mode)

Definition at line 437 of file utils.cc.

Searchpath ARDOUR::export_formats_search_path ( )

return a Searchpath containing directories in which to look for export_formats.

Definition at line 73 of file search_paths.cc.

static float ARDOUR::f_max ( float  x,
float  a 
)
inlinestatic

Definition at line 51 of file utils.h.

LIBARDOUR_API void ARDOUR::find_bindings_files ( std::map< std::string, std::string > &  )
LIBARDOUR_API XMLNode* ARDOUR::find_named_node ( const XMLNode node,
std::string  name 
)
PluginPtr ARDOUR::find_plugin ( ARDOUR::Session ,
std::string  unique_id,
ARDOUR::PluginType   
)
LIBARDOUR_API void ARDOUR::find_route_templates ( std::vector< TemplateInfo > &  template_names)

Definition at line 114 of file template_utils.cc.

void ARDOUR::find_route_templates ( vector< TemplateInfo > &  template_names)

Definition at line 114 of file template_utils.cc.

LIBARDOUR_API int ARDOUR::find_session ( std::string  str,
std::string &  path,
std::string &  snapshot,
bool &  isnew 
)
int ARDOUR::find_session ( string  str,
string &  path,
string &  snapshot,
bool &  isnew 
)

Definition at line 45 of file find_session.cc.

LIBARDOUR_API void ARDOUR::find_session_templates ( std::vector< TemplateInfo > &  template_names)

Definition at line 82 of file template_utils.cc.

void ARDOUR::find_session_templates ( vector< TemplateInfo > &  template_names)

Definition at line 82 of file template_utils.cc.

static uint16_t ARDOUR::force_mask ( const ChannelMode  mode,
const uint16_t  mask 
)
inlinestatic

If mode is ForceChannel, force mask to the lowest set channel or 1 if no channels are set.

Definition at line 102 of file midi_channel_filter.cc.

int ARDOUR::format_data_width ( ARDOUR::SampleFormat  format)

Return the number of bits per sample for a given sample format.

This is closely related to sndfile_data_width() but does NOT return a "magic" value to differentiate between 32 bit integer and 32 bit floating point values.

Definition at line 757 of file globals.cc.

static double ARDOUR::gain_to_slider_position ( ARDOUR::gain_t  g)
inlinestatic

Definition at line 83 of file utils.h.

double ARDOUR::gain_to_slider_position_with_max ( double  g,
double  max_gain = 2.0 
)

Definition at line 756 of file utils.cc.

LIBARDOUR_API const char* ARDOUR::get_ardour_revision ( )
vector< SyncSource > ARDOUR::get_available_sync_options ( )

Definition at line 682 of file globals.cc.

vector<string> ARDOUR::get_file_names_no_extension ( const std::vector< std::string > &  file_paths)

Given a vector of paths to files, return a vector containing the filenames without any extension.

Parameters
file_pathsa vector containing the file paths
Returns
a vector containing a list of file names without any filename extension.

Definition at line 55 of file session_state_utils.cc.

LIBARDOUR_API std::vector<std::string> ARDOUR::get_file_names_no_extension ( const std::vector< std::string > &  file_paths)

Given a vector of paths to files, return a vector containing the filenames without any extension.

Parameters
file_pathsa vector containing the file paths
Returns
a vector containing a list of file names without any filename extension.

Definition at line 55 of file session_state_utils.cc.

void ARDOUR::get_jack_alsa_device_names ( device_map_t &  devices)

Use library specific code to find out what what devices exist for a given driver that might work in JACK. There is no easy way to find out what modules the JACK server supports so guess based on platform. For instance portaudio is cross-platform but we only return devices if built for windows etc

void ARDOUR::get_jack_audio_driver_names ( std::vector< std::string > &  driver_names)

Get a list of possible JACK audio driver names based on platform

bool ARDOUR::get_jack_audio_driver_supports_latency_adjustment ( const std::string &  driver)
bool ARDOUR::get_jack_audio_driver_supports_setting_period_count ( const std::string &  driver)
bool ARDOUR::get_jack_audio_driver_supports_two_devices ( const std::string &  driver)
Returns
true if the driver supports playback and recording on separate devices
bool ARDOUR::get_jack_command_line_string ( const JackCommandLineOptions &  options,
std::string &  command_line 
)
Returns
true if able to build a valid command line based on options
void ARDOUR::get_jack_coreaudio_device_names ( device_map_t &  devices)
void ARDOUR::get_jack_default_audio_driver_name ( std::string &  driver_name)

Get the default JACK audio driver based on platform

std::string ARDOUR::get_jack_default_dither_mode ( const std::string &  driver)
Returns
The default dither mode
void ARDOUR::get_jack_default_midi_system_name ( const std::string &  driver_name,
std::string &  midi_system 
)

Get the default JACK midi driver based on platform

std::string ARDOUR::get_jack_default_period_size ( )
Returns
The default period size
std::string ARDOUR::get_jack_default_sample_rate ( )
Returns
The default samplerate
bool ARDOUR::get_jack_default_server_path ( std::string &  server_path)

Get absolute path to default JACK server

bool ARDOUR::get_jack_device_names_for_audio_driver ( const std::string &  driver,
device_map_t &  devices 
)
std::vector<std::string> ARDOUR::get_jack_device_names_for_audio_driver ( const std::string &  driver)
void ARDOUR::get_jack_dither_mode_strings ( const std::string &  driver,
std::vector< std::string > &  dither_modes 
)

These are driver specific I think, so it may require a driver arg in future

void ARDOUR::get_jack_dummy_device_names ( device_map_t &  devices)
void ARDOUR::get_jack_ffado_device_names ( device_map_t &  devices)
void ARDOUR::get_jack_freebob_device_names ( device_map_t &  devices)
std::string ARDOUR::get_jack_latency_string ( std::string  samplerate,
float  periods,
std::string  period_size 
)
Returns
Estimate of latency

API matches current use in GUI

void ARDOUR::get_jack_midi_system_names ( const std::string &  driver,
std::vector< std::string > &  driver_names 
)

Get a list of possible JACK midi driver names based on platform

void ARDOUR::get_jack_netjack_device_names ( device_map_t &  devices)
void ARDOUR::get_jack_oss_device_names ( device_map_t &  devices)
void ARDOUR::get_jack_period_size_strings ( std::vector< std::string > &  samplerates)

Get a list of possible period sizes supported be JACK

bool ARDOUR::get_jack_period_size_value_from_string ( const std::string &  pss,
uint32_t &  psv 
)
Returns
true if period size string was able to be converted
void ARDOUR::get_jack_portaudio_device_names ( device_map_t &  devices)
void ARDOUR::get_jack_sample_rate_strings ( std::vector< std::string > &  sample_rates)

Get a list of possible samplerates supported be JACK

bool ARDOUR::get_jack_sample_rate_value_from_string ( const std::string &  srs,
uint32_t &  srv 
)
Returns
true if sample rate string was able to be converted
bool ARDOUR::get_jack_server_application_names ( std::vector< std::string > &  server_names)

The possible names to use to try and find servers, this includes any file extensions like .exe on Windows

Returns
true if the JACK application names for this platform could be guessed
std::string ARDOUR::get_jack_server_config_file_name ( )
Returns
The name of the jack server config file
bool ARDOUR::get_jack_server_dir_paths ( std::vector< std::string > &  server_dir_paths)

Get absolute paths to directories that might contain JACK servers on the system

Returns
true if !server_paths.empty()
bool ARDOUR::get_jack_server_paths ( const std::vector< std::string > &  server_dir_paths,
const std::vector< std::string > &  server_names,
std::vector< std::string > &  server_paths 
)

Get absolute paths to JACK servers on the system

Returns
true if a server was found
bool ARDOUR::get_jack_server_paths ( std::vector< std::string > &  server_paths)
std::string ARDOUR::get_jack_server_user_config_dir_path ( )
std::string ARDOUR::get_jack_server_user_config_file_path ( )
microseconds_t ARDOUR::get_microseconds ( )

Return a monotonic value for the number of microseconds that have elapsed since an arbitrary zero origin.

Definition at line 728 of file globals.cc.

string ARDOUR::get_personal_vst_blacklist_dir ( )

Definition at line 1055 of file vst_info_file.cc.

string ARDOUR::get_personal_vst_info_cache_dir ( )

Definition at line 1068 of file vst_info_file.cc.

LIBARDOUR_API void ARDOUR::get_state_files_in_directory ( const std::string &  directory_path,
std::vector< std::string > &  result 
)

Get the absolute paths to all state files in the directory at path directory_path.

Parameters
directory_pathThe absolute path to a directory.
resultvector to contain resulting state files.

Definition at line 47 of file session_state_utils.cc.

void ARDOUR::get_state_files_in_directory ( const std::string &  directory_path,
std::vector< std::string > &  result 
)

Get the absolute paths to all state files in the directory at path directory_path.

Parameters
directory_pathThe absolute path to a directory.
resultvector to contain resulting state files.

Definition at line 47 of file session_state_utils.cc.

int ARDOUR::handle_old_configuration_files ( boost::function< bool(std::string const &, std::string const &, int)>  ui_handler)

Definition at line 358 of file globals.cc.

uint32_t ARDOUR::how_many_dsp_threads ( )

Definition at line 722 of file utils.cc.

ChanCount ARDOUR::infinity_factory ( )

Definition at line 49 of file chan_count.cc.

bool ARDOUR::init ( bool  with_vst,
bool  try_optimization,
const char *  localedir 
)
Parameters
with_vsttrue to enable VST Support
try_optimizationtrue to enable hardware optimized routines for mixing, finding peak values etc.
localedirDirectory to look for localisation files
Returns
true if Ardour library was successfully initialized

Definition at line 376 of file globals.cc.

void ARDOUR::init_post_engine ( )

Definition at line 487 of file globals.cc.

bool ARDOUR::jack_server_running ( )
Returns
true if a JACK server is running
Searchpath ARDOUR::ladspa_search_path ( )

return a Searchpath containing directories in which to look for LADSPA plugins.

If LADSPA_PATH is defined then the Searchpath returned will contain the directories specified in it as well as the user and system directories.

Definition at line 89 of file search_paths.cc.

LIBARDOUR_API std::string ARDOUR::legalize_for_path ( const std::string &  str)
LIBARDOUR_API std::string ARDOUR::legalize_for_path_2X ( const std::string &  str)
LIBARDOUR_API std::string ARDOUR::legalize_for_universal_path ( const std::string &  str)
LIBARDOUR_API std::string ARDOUR::legalize_for_uri ( const std::string &  str)
Searchpath ARDOUR::lv2_bundled_search_path ( )

return a Searchpath containing directories in which to look for lv2 plugins.

Definition at line 114 of file search_paths.cc.

const void * ARDOUR::lv2plugin_get_port_value ( const char *  port_symbol,
void *  user_data,
uint32_t *  size,
uint32_t *  type 
)

Definition at line 1050 of file lv2_plugin.cc.

LIBARDOUR_API void ARDOUR::make_property_quarks ( )
LIBARDOUR_API bool ARDOUR::matching_unsuffixed_filename_exists_in ( const std::string &  dir,
const std::string &  name 
)
MeterFalloff ARDOUR::meter_falloff_from_float ( float  val)

Definition at line 535 of file utils.cc.

LIBARDOUR_API float ARDOUR::meter_falloff_to_db_per_sec ( float  )
float ARDOUR::meter_falloff_to_float ( ARDOUR::MeterFalloff  falloff)

Definition at line 508 of file utils.cc.

Evoral::Parameter ARDOUR::midi_parameter ( const uint8_t *  buf,
const uint32_t  len 
)
inline

Definition at line 59 of file parameter_types.h.

AutomationType ARDOUR::midi_parameter_type ( uint8_t  status)
inline

Definition at line 46 of file parameter_types.h.

Searchpath ARDOUR::midi_patch_search_path ( )

return a Searchpath containing directories in which to look for MIDI patch files ("*.midnam") aka MIDNAM files

If ARDOUR_MIDI_PATCH_PATH is defined then the Searchpath returned will contain only those directories specified in it, otherwise it will contain the user and system directories which may contain control surface plugins.

Definition at line 123 of file search_paths.cc.

const char * ARDOUR::native_header_format_extension ( ARDOUR::HeaderFormat  hf,
const ARDOUR::DataType type 
)

Definition at line 648 of file utils.cc.

bool ARDOUR::no_auto_connect ( )

Definition at line 555 of file globals.cc.

Searchpath ARDOUR::panner_search_path ( )

return a Searchpath containing directories in which to look for panner plugins.

If ARDOUR_PANNER_PATH is defined then the Searchpath returned will contain only those directories specified in it, otherwise it will contain the user and system directories which may contain control surface plugins.

Definition at line 139 of file search_paths.cc.

bool ARDOUR::parameter_is_midi ( AutomationType  type)
inline

Definition at line 79 of file parameter_types.h.

uint8_t ARDOUR::parameter_midi_type ( AutomationType  type)
inline

Definition at line 33 of file parameter_types.h.

static void ARDOUR::parse_scanner_output ( std::string  msg,
size_t   
)
static

Definition at line 886 of file vst_info_file.cc.

LIBARDOUR_API bool ARDOUR::path_is_paired ( std::string  path,
std::string &  pair_base 
)
void ARDOUR::pingback ( const std::string &  this_version,
const std::string &  announce_path 
)
void ARDOUR::pingback ( const string &  version,
const string &  announce_path 
)

Definition at line 174 of file pingback.cc.

static bool ARDOUR::read_int ( FILE *  fp,
int *  n 
)
static

Read an integer value from a line in fp into n,

Returns
true on failure, false on success.

Definition at line 199 of file vst_info_file.cc.

int ARDOUR::read_recent_sessions ( RecentSessions rs)

Definition at line 46 of file recent_sessions.cc.

static char* ARDOUR::read_string ( FILE *  fp)
static

Helper function to read a line from the cache file

Returns
newly allocated string of NULL

Definition at line 177 of file vst_info_file.cc.

LIBARDOUR_API std::string ARDOUR::region_name_from_path ( std::string  path,
bool  strip_channels,
bool  add_channel_suffix = false,
uint32_t  total = 0,
uint32_t  this_one = 0 
)
LIBARDOUR_API int ARDOUR::remove_recent_sessions ( const std::string &  path)
static bool ARDOUR::route_template_filter ( const string &  str,
void *   
)
static

Definition at line 65 of file template_utils.cc.

Searchpath ARDOUR::route_template_search_path ( )

return a Searchpath containing directories in which to look for route templates.

Definition at line 159 of file search_paths.cc.

LIBARDOUR_API std::string ARDOUR::session_template_dir_to_file ( std::string const &  )
string ARDOUR::session_template_dir_to_file ( string const &  dir)

Definition at line 75 of file template_utils.cc.

static void ARDOUR::set_error_log ( const char *  dllpath)
static

Definition at line 911 of file vst_info_file.cc.

void ARDOUR::set_path_env_for_jack_autostart ( const std::vector< std::string > &  )

Sets the PATH environment variable to contain directories likely to contain JACK servers so that if the JACK server is auto-started it can find the server executable.

This is only modifies PATH on the mac at the moment.

bool ARDOUR::set_translations_enabled ( bool  yn)

Definition at line 657 of file globals.cc.

void ARDOUR::setup_enum_writer ( )

Definition at line 49 of file enums.cc.

void ARDOUR::setup_fpu ( )

Definition at line 561 of file globals.cc.

static intptr_t ARDOUR::simple_master_callback ( AEffect ,
int32_t  opcode,
int32_t  ,
intptr_t  ,
void *  ptr,
float   
)
static

simple 'dummy' audiomaster callback to instantiate the plugin and query information

Definition at line 604 of file vst_info_file.cc.

static ARDOUR::gain_t ARDOUR::slider_position_to_gain ( double  pos)
inlinestatic

Definition at line 106 of file utils.h.

double ARDOUR::slider_position_to_gain_with_max ( double  g,
double  max_gain = 2.0 
)

Definition at line 762 of file utils.cc.

static void ARDOUR::snprintf_bounded_null_filled ( char *  target,
size_t  target_size,
char const *  fmt,
  ... 
)
static

Definition at line 39 of file broadcast_info.cc.

static bool ARDOUR::sort_ports_by_name ( boost::shared_ptr< Port >  a,
boost::shared_ptr< Port >  b 
)
static

Definition at line 36 of file port_set.cc.

static bool ARDOUR::sort_ports_by_type_and_name ( boost::shared_ptr< Port >  a,
boost::shared_ptr< Port >  b 
)
static

Definition at line 76 of file port_set.cc.

LIBARDOUR_API int ARDOUR::store_recent_sessions ( std::string  name,
std::string  path 
)
AutoState ARDOUR::string_to_auto_state ( std::string  str)

Definition at line 567 of file utils.cc.

AutoStyle ARDOUR::string_to_auto_style ( std::string  str)

Definition at line 609 of file utils.cc.

LIBARDOUR_API ARDOUR::EditMode ARDOUR::string_to_edit_mode ( std::string  )
LIBARDOUR_API ARDOUR::SyncSource ARDOUR::string_to_sync_source ( std::string  str)
const char * ARDOUR::sync_source_to_string ( ARDOUR::SyncSource  src,
bool  sh = false 
)
Parameters
shReturn a short version of the string

Definition at line 477 of file utils.cc.

LIBARDOUR_API std::string ARDOUR::system_route_template_directory ( )
LIBARDOUR_API std::string ARDOUR::system_template_directory ( )
static bool ARDOUR::template_filter ( const string &  str,
void *   
)
static

Definition at line 55 of file template_utils.cc.

Searchpath ARDOUR::template_search_path ( )

return a Searchpath containing directories in which to look for other templates.

Definition at line 151 of file search_paths.cc.

boost::shared_ptr< RouteList > ARDOUR::topological_sort ( boost::shared_ptr< RouteList routes,
GraphEdges  edges 
)

Perform a topological sort of a list of routes using a directed graph representing connections.

Returns
Sorted list of routes, or 0 if the graph contains cycles (feedback loops).

Definition at line 194 of file route_graph.cc.

LIBARDOUR_API int ARDOUR::touch_file ( std::string  path)
string ARDOUR::translation_enable_path ( )

Definition at line 630 of file globals.cc.

bool ARDOUR::translations_are_enabled ( )

Definition at line 636 of file globals.cc.

std::string ARDOUR::user_cache_directory ( )
Returns
the path to the directory used to store user specific caches (e.g. plugin indices, blacklist/whitelist) it defaults to XDG_CACHE_HOME

Definition at line 120 of file filesystem_paths.cc.

std::string ARDOUR::user_config_directory ( int  version = -1)
Returns
the path to the directory used to store user specific configuration files for the given
Parameters
versionof the program. If
versionis negative, the build-time string PROGRAM_VERSION will be used to determine the version number.
Postcondition
user_config_directory() exists IF version was negative.

Definition at line 62 of file filesystem_paths.cc.

static std::string ARDOUR::user_config_directory_name ( int  version = -1)
static

Definition at line 46 of file filesystem_paths.cc.

std::string ARDOUR::user_route_template_directory ( )

Definition at line 49 of file template_utils.cc.

std::string ARDOUR::user_template_directory ( )

Definition at line 43 of file template_utils.cc.

std::string ARDOUR::value_as_string ( const ARDOUR::ParameterDescriptor desc,
double  v 
)
inline

Definition at line 31 of file value_as_string.h.

std::string ARDOUR::value_as_string ( const ARDOUR::ParameterDescriptor desc,
const ARDOUR::Variant val 
)
inline

Definition at line 74 of file value_as_string.h.

const char * ARDOUR::vst_search_path ( )

Definition at line 269 of file search_paths.cc.

static bool ARDOUR::vstfx_blacklist ( const char *  dllpath)
static

mark plugin as blacklisted

Definition at line 413 of file vst_info_file.cc.

static FILE* ARDOUR::vstfx_blacklist_file ( const char *  dllpath)
static

Definition at line 396 of file vst_info_file.cc.

static string ARDOUR::vstfx_blacklist_path ( const char *  dllpath,
int  personal 
)
static

Definition at line 111 of file vst_info_file.cc.

static bool ARDOUR::vstfx_blacklist_stat ( const char *  dllpath,
int  personal 
)
static

Definition at line 352 of file vst_info_file.cc.

static string ARDOUR::vstfx_cache_file ( const char *  dllpath,
int  personal,
const char *  ext 
)
static

Definition at line 95 of file vst_info_file.cc.

static bool ARDOUR::vstfx_check_blacklist ( const char *  dllpath)
static

Definition at line 385 of file vst_info_file.cc.

static void ARDOUR::vstfx_clear_info_list ( vector< VSTInfo * > *  infos)
static

reset vector

Definition at line 161 of file vst_info_file.cc.

static string ARDOUR::vstfx_errorfile_path ( const char *  dllpath,
int  personal 
)
static

Definition at line 133 of file vst_info_file.cc.

static void ARDOUR::vstfx_free_info ( VSTInfo info)
static

cleanup single allocated VSTInfo

Definition at line 144 of file vst_info_file.cc.

LIBARDOUR_API void ARDOUR::vstfx_free_info_list ( std::vector< VSTInfo * > *  infos)

Definition at line 1046 of file vst_info_file.cc.

void ARDOUR::vstfx_free_info_list ( vector< VSTInfo * > *  infos)

Definition at line 1046 of file vst_info_file.cc.

static vector<VSTInfo *>* ARDOUR::vstfx_get_info ( const char *  dllpath,
enum ARDOUR::PluginType  type,
enum VSTScanMode  mode 
)
static

Definition at line 933 of file vst_info_file.cc.

static bool ARDOUR::vstfx_get_info_from_file ( const char *  dllpath,
vector< VSTInfo * > *  infos 
)
static

check if cache-file exists, is up-to-date and parse cache file

Parameters
infos[return] loaded plugin info
Returns
true if .fsi cache was read successfully, false otherwise

Definition at line 544 of file vst_info_file.cc.

static void ARDOUR::vstfx_info_from_plugin ( const char *  dllpath,
VSTState vstfx,
vector< VSTInfo * > *  infos,
enum ARDOUR::PluginType  type 
)
static

wrapper around vstfx_parse_vst_state, iterate over plugins in shell, translate VST-info into ardour VSTState

Definition at line 737 of file vst_info_file.cc.

static FILE* ARDOUR::vstfx_infofile_create ( const char *  dllpath,
int  personal 
)
static

helper function for vstfx_infofile_for_write abstract global and personal cache folders

Definition at line 506 of file vst_info_file.cc.

static FILE* ARDOUR::vstfx_infofile_for_read ( const char *  dllpath)
static

cache file for given plugin

Returns
FILE of the .fsi cache if found and up-to-date

Definition at line 475 of file vst_info_file.cc.

static FILE* ARDOUR::vstfx_infofile_for_write ( const char *  dllpath)
static

newly created cache file for given plugin

Returns
FILE for the .fsi cache, NULL if neither personal, nor global cache folder is writable

Definition at line 528 of file vst_info_file.cc.

static string ARDOUR::vstfx_infofile_path ( const char *  dllpath,
int  personal 
)
static

Definition at line 126 of file vst_info_file.cc.

static char* ARDOUR::vstfx_infofile_stat ( const char *  dllpath,
struct stat *  statbuf,
int  personal 
)
static

helper function, check if cache is newer than plugin

Returns
path to cache file

Definition at line 442 of file vst_info_file.cc.

static bool ARDOUR::vstfx_load_info_block ( FILE *  fp,
VSTInfo info 
)
static

parse a plugin-block from the cache info file

Definition at line 213 of file vst_info_file.cc.

static bool ARDOUR::vstfx_load_info_file ( FILE *  fp,
vector< VSTInfo * > *  infos 
)
static

parse all blocks in a cache info file

Definition at line 259 of file vst_info_file.cc.

static bool ARDOUR::vstfx_midi_input ( VSTState vstfx)
static

Definition at line 563 of file vst_info_file.cc.

static bool ARDOUR::vstfx_midi_output ( VSTState vstfx)
static

Definition at line 581 of file vst_info_file.cc.

static VSTInfo* ARDOUR::vstfx_parse_vst_state ( VSTState vstfx)
static

main plugin query and test function

Definition at line 641 of file vst_info_file.cc.

static void ARDOUR::vstfx_remove_infofile ( const char *  dllpath)
static

remove info file from cache

Definition at line 433 of file vst_info_file.cc.

static void ARDOUR::vstfx_un_blacklist ( const char *  dllpath)
static

mark plugin as not blacklisted

Definition at line 425 of file vst_info_file.cc.

static void ARDOUR::vstfx_write_info_block ( FILE *  fp,
VSTInfo info 
)
static

Definition at line 297 of file vst_info_file.cc.

static void ARDOUR::vstfx_write_info_file ( FILE *  fp,
vector< VSTInfo * > *  infos 
)
static

Definition at line 323 of file vst_info_file.cc.

bool ARDOUR::write_jack_config_file ( const std::string &  config_file_path,
const std::string &  command_line 
)
int ARDOUR::write_recent_sessions ( RecentSessions rs)

Definition at line 88 of file recent_sessions.cc.

Variable Documentation

char* ARDOUR::_errorlog_dll = 0
static

Definition at line 884 of file vst_info_file.cc.

FILE* ARDOUR::_errorlog_fd = 0
static

Definition at line 883 of file vst_info_file.cc.

const char* const ARDOUR::alsa_driver_name
apply_gain_to_buffer_t ARDOUR::apply_gain_to_buffer = 0

Definition at line 131 of file globals.cc.

const char *const ARDOUR::ardour_config_info

Definition at line 3 of file config_text.cc.

const char *const ARDOUR::backend_dir_name = X_("backends")

Definition at line 41 of file directory_names.cc.

const char *const ARDOUR::backup_suffix = X_(".bak")

Definition at line 30 of file filename_extensions.cc.

PBD::Signal1< void, std::string > ARDOUR::BootMessage

Definition at line 135 of file globals.cc.

PBD::PropertyChange ARDOUR::bounds_change

Definition at line 150 of file globals.cc.

compute_peak_t ARDOUR::compute_peak = 0

Definition at line 129 of file globals.cc.

ARDOUR::RCConfiguration * ARDOUR::Config = 0

Definition at line 119 of file globals.cc.

PBD::Signal3< bool, std::string, std::string, int > ARDOUR::CopyConfigurationFiles

Definition at line 139 of file globals.cc.

const char* const ARDOUR::coreaudio_driver_name
const char *const ARDOUR::dead_dir_name = X_("dead")

Definition at line 32 of file directory_names.cc.

const char* const ARDOUR::dummy_driver_name
const char *const ARDOUR::export_dir_name = X_("export")

Definition at line 34 of file directory_names.cc.

const char *const ARDOUR::export_format_suffix = X_(".format")

Definition at line 34 of file filename_extensions.cc.

const char *const ARDOUR::export_formats_dir_name = X_("export")

Definition at line 35 of file directory_names.cc.

const char *const ARDOUR::export_preset_suffix = X_(".preset")

Definition at line 33 of file filename_extensions.cc.

const char* const ARDOUR::ffado_driver_name
find_peaks_t ARDOUR::find_peaks = 0

Definition at line 130 of file globals.cc.

const uint32_t ARDOUR::frames_per_peak = 2048

Definition at line 34 of file soundseq.h.

const char* const ARDOUR::freebob_driver_name
PBD::Signal0< void > ARDOUR::GUIIdle

Definition at line 138 of file globals.cc.

const char *const ARDOUR::history_suffix = X_(".history")

Definition at line 32 of file filename_extensions.cc.

const char *const ARDOUR::interchange_dir_name = X_("interchange")

Definition at line 33 of file directory_names.cc.

const char *const ARDOUR::ladspa_dir_name = X_("ladspa")

Definition at line 42 of file directory_names.h.

ARDOUR::AudioLibrary * ARDOUR::Library = 0

Definition at line 121 of file globals.cc.

const framecnt_t ARDOUR::max_framecnt = INT64_MAX
static

Definition at line 79 of file types.h.

const framepos_t ARDOUR::max_framepos = INT64_MAX
static

Definition at line 78 of file types.h.

const layer_t ARDOUR::max_layer = UINT32_MAX
static

Definition at line 80 of file types.h.

const char *const ARDOUR::midi_dir_name = X_("midifiles")

Definition at line 28 of file directory_names.cc.

const char *const ARDOUR::midi_patch_dir_name = X_("patchfiles")

Definition at line 29 of file directory_names.cc.

mix_buffers_no_gain_t ARDOUR::mix_buffers_no_gain = 0

Definition at line 133 of file globals.cc.

mix_buffers_with_gain_t ARDOUR::mix_buffers_with_gain = 0

Definition at line 132 of file globals.cc.

const char* const ARDOUR::netjack_driver_name
const char *const ARDOUR::old_sound_dir_name = X_("sounds")

Definition at line 26 of file directory_names.cc.

const char* const ARDOUR::oss_driver_name
const char *const ARDOUR::panner_dir_name = X_("panners")

Definition at line 40 of file directory_names.cc.

const char *const ARDOUR::peak_dir_name = X_("peaks")

Definition at line 31 of file directory_names.cc.

const char *const ARDOUR::peakfile_suffix = X_(".peak")

Definition at line 29 of file filename_extensions.cc.

const char *const ARDOUR::pending_suffix = X_(".pending")

Definition at line 28 of file filename_extensions.cc.

PBD::Signal3< void, std::string, std::string, bool > ARDOUR::PluginScanMessage

Definition at line 136 of file globals.cc.

PBD::Signal1< void, int > ARDOUR::PluginScanTimeout

Definition at line 137 of file globals.cc.

const char* const ARDOUR::portaudio_driver_name
ARDOUR::RuntimeProfile * ARDOUR::Profile = 0

Definition at line 120 of file globals.cc.

const char * ARDOUR::revision = "4.0-313-ge73b4e6"

Definition at line 2 of file revision.cc.

const char *const ARDOUR::route_templates_dir_name = X_("route_templates")

Definition at line 37 of file directory_names.cc.

const char *const ARDOUR::sound_dir_name = X_("audiofiles")

Definition at line 27 of file directory_names.cc.

float ARDOUR::speed_quietning = 0.251189

Definition at line 49 of file rc_configuration.cc.

const char *const ARDOUR::statefile_suffix = X_(".ardour")

Definition at line 27 of file filename_extensions.cc.

const char *const ARDOUR::surfaces_dir_name = X_("surfaces")

Definition at line 38 of file directory_names.cc.

const char *const ARDOUR::temp_suffix = X_(".tmp")

Definition at line 31 of file filename_extensions.cc.

const char *const ARDOUR::template_suffix = X_(".template")

Definition at line 26 of file filename_extensions.cc.

const char *const ARDOUR::templates_dir_name = X_("templates")

Definition at line 36 of file directory_names.cc.

const char *const ARDOUR::video_dir_name = X_("videofiles")

Definition at line 30 of file directory_names.cc.

int ARDOUR::vstfx_current_loading_id = 0
static

Definition at line 88 of file vst_info_file.cc.