mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-08 14:45:43 +01:00
remove some undefined function decls and an unused function definition
git-svn-id: svn://localhost/ardour2/branches/3.0@8871 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
10d7c08fd9
commit
ccc8facdc7
3 changed files with 0 additions and 45 deletions
|
|
@ -560,12 +560,6 @@ class Session : public PBD::StatefulDestructible, public PBD::ScopedConnectionLi
|
|||
/* Curves and AutomationLists (TODO when they go away) */
|
||||
void add_automation_list(AutomationList*);
|
||||
|
||||
/* fade curves */
|
||||
|
||||
float get_default_fade_length () const { return default_fade_msecs; }
|
||||
float get_default_fade_steepness () const { return default_fade_steepness; }
|
||||
void set_default_fade (float steepness, float msecs);
|
||||
|
||||
/* auditioning */
|
||||
|
||||
boost::shared_ptr<Auditioner> the_auditioner() { return auditioner; }
|
||||
|
|
|
|||
|
|
@ -1256,43 +1256,6 @@ Session::set_block_size (pframes_t nframes)
|
|||
}
|
||||
}
|
||||
|
||||
void
|
||||
Session::set_default_fade (float /*steepness*/, float /*fade_msecs*/)
|
||||
{
|
||||
#if 0
|
||||
framecnt_t fade_frames;
|
||||
|
||||
/* Don't allow fade of less 1 frame */
|
||||
|
||||
if (fade_msecs < (1000.0 * (1.0/_current_frame_rate))) {
|
||||
|
||||
fade_msecs = 0;
|
||||
fade_frames = 0;
|
||||
|
||||
} else {
|
||||
|
||||
fade_frames = (framecnt_t) floor (fade_msecs * _current_frame_rate * 0.001);
|
||||
|
||||
}
|
||||
|
||||
default_fade_msecs = fade_msecs;
|
||||
default_fade_steepness = steepness;
|
||||
|
||||
{
|
||||
// jlc, WTF is this!
|
||||
Glib::RWLock::ReaderLock lm (route_lock);
|
||||
AudioRegion::set_default_fade (steepness, fade_frames);
|
||||
}
|
||||
|
||||
set_dirty();
|
||||
|
||||
/* XXX have to do this at some point */
|
||||
/* foreach region using default fade, reset, then
|
||||
refill_all_diskstream_buffers ();
|
||||
*/
|
||||
#endif
|
||||
}
|
||||
|
||||
struct RouteSorter {
|
||||
/** @return true to run r1 before r2, otherwise false */
|
||||
bool operator() (boost::shared_ptr<Route> r1, boost::shared_ptr<Route> r2) {
|
||||
|
|
|
|||
|
|
@ -258,8 +258,6 @@ Session::first_stage_init (string fullpath, string snapshot_name)
|
|||
last_rr_session_dir = session_dirs.begin();
|
||||
refresh_disk_space ();
|
||||
|
||||
// set_default_fade (0.2, 5.0); /* steepness, millisecs */
|
||||
|
||||
/* default: assume simple stereo speaker configuration */
|
||||
|
||||
_speakers->setup_default_speakers (2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue