ardour
Static Public Member Functions | Static Public Attributes | List of all members
ARDOUR::SourceFactory Class Reference

#include <source_factory.h>

Static Public Member Functions

static void init ()
 
static boost::shared_ptr< Sourcecreate (Session &, const XMLNode &node, bool async=false)
 
static boost::shared_ptr< SourcecreateSilent (Session &, const XMLNode &node, framecnt_t nframes, float sample_rate)
 
static boost::shared_ptr< SourcecreateExternal (DataType type, Session &, const std::string &path, int chn, Source::Flag flags, bool announce=true, bool async=false)
 
static boost::shared_ptr< SourcecreateWritable (DataType type, Session &, const std::string &path, bool destructive, framecnt_t rate, bool announce=true, bool async=false)
 
static boost::shared_ptr< SourcecreateForRecovery (DataType type, Session &, const std::string &path, int chn)
 
static boost::shared_ptr< SourcecreateFromPlaylist (DataType type, Session &s, boost::shared_ptr< Playlist > p, const PBD::ID &orig, const std::string &name, uint32_t chn, frameoffset_t start, framecnt_t len, bool copy, bool defer_peaks)
 
static int setup_peakfile (boost::shared_ptr< Source >, bool async)
 

Static Public Attributes

static PBD::Signal1< void,
boost::shared_ptr< Source > > 
SourceCreated
 
static Glib::Threads::Cond PeaksToBuild
 
static Glib::Threads::Mutex peak_building_lock
 
static std::list
< boost::weak_ptr< AudioSource > > 
files_with_peaks
 

Detailed Description

Definition at line 39 of file source_factory.h.

Member Function Documentation

boost::shared_ptr< Source > SourceFactory::create ( Session s,
const XMLNode node,
bool  async = false 
)
static

Definition at line 134 of file source_factory.cc.

boost::shared_ptr< Source > SourceFactory::createExternal ( DataType  type,
Session ,
const std::string &  path,
int  chn,
Source::Flag  flags,
bool  announce = true,
bool  async = false 
)
static

Definition at line 222 of file source_factory.cc.

boost::shared_ptr< Source > SourceFactory::createForRecovery ( DataType  type,
Session s,
const std::string &  path,
int  chn 
)
static

Definition at line 348 of file source_factory.cc.

boost::shared_ptr< Source > SourceFactory::createFromPlaylist ( DataType  type,
Session s,
boost::shared_ptr< Playlist p,
const PBD::ID orig,
const std::string &  name,
uint32_t  chn,
frameoffset_t  start,
framecnt_t  len,
bool  copy,
bool  defer_peaks 
)
static

Definition at line 381 of file source_factory.cc.

boost::shared_ptr< Source > SourceFactory::createSilent ( Session s,
const XMLNode node,
framecnt_t  nframes,
float  sample_rate 
)
static

Definition at line 121 of file source_factory.cc.

boost::shared_ptr< Source > SourceFactory::createWritable ( DataType  type,
Session s,
const std::string &  path,
bool  destructive,
framecnt_t  rate,
bool  announce = true,
bool  async = false 
)
static

Definition at line 295 of file source_factory.cc.

void SourceFactory::init ( )
static

Definition at line 88 of file source_factory.cc.

int SourceFactory::setup_peakfile ( boost::shared_ptr< Source s,
bool  async 
)
static

Definition at line 96 of file source_factory.cc.

Member Data Documentation

std::list< boost::weak_ptr< AudioSource > > SourceFactory::files_with_peaks
static

Definition at line 69 of file source_factory.h.

Glib::Threads::Mutex SourceFactory::peak_building_lock
static

Definition at line 68 of file source_factory.h.

Glib::Threads::Cond SourceFactory::PeaksToBuild
static

Definition at line 67 of file source_factory.h.

PBD::Signal1< void, boost::shared_ptr< Source > > SourceFactory::SourceCreated
static

Definition at line 43 of file source_factory.h.


The documentation for this class was generated from the following files: