mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 19:56:31 +01:00
provide Session::declick_out_pending()
This commit is contained in:
parent
368a091acd
commit
21b919c210
1 changed files with 11 additions and 9 deletions
|
|
@ -169,6 +169,16 @@ private:
|
||||||
/** Ardour Session */
|
/** Ardour Session */
|
||||||
class LIBARDOUR_API Session : public PBD::StatefulDestructible, public PBD::ScopedConnectionList, public SessionEventManager
|
class LIBARDOUR_API Session : public PBD::StatefulDestructible, public PBD::ScopedConnectionList, public SessionEventManager
|
||||||
{
|
{
|
||||||
|
private:
|
||||||
|
enum SubState {
|
||||||
|
PendingDeclickIn = 0x1, ///< pending de-click fade-in for start
|
||||||
|
PendingDeclickOut = 0x2, ///< pending de-click fade-out for stop
|
||||||
|
StopPendingCapture = 0x4,
|
||||||
|
PendingLoopDeclickIn = 0x8, ///< pending de-click fade-in at the start of a loop
|
||||||
|
PendingLoopDeclickOut = 0x10, ///< pending de-click fade-out at the end of a loop
|
||||||
|
PendingLocate = 0x20,
|
||||||
|
};
|
||||||
|
|
||||||
public:
|
public:
|
||||||
enum RecordState {
|
enum RecordState {
|
||||||
Disabled = 0,
|
Disabled = 0,
|
||||||
|
|
@ -426,6 +436,7 @@ class LIBARDOUR_API Session : public PBD::StatefulDestructible, public PBD::Scop
|
||||||
void request_input_change_handling ();
|
void request_input_change_handling ();
|
||||||
|
|
||||||
bool locate_pending() const { return static_cast<bool>(post_transport_work()&PostTransportLocate); }
|
bool locate_pending() const { return static_cast<bool>(post_transport_work()&PostTransportLocate); }
|
||||||
|
bool declick_out_pending() const { return static_cast<bool>(transport_sub_state&(PendingDeclickOut)); }
|
||||||
bool transport_locked () const;
|
bool transport_locked () const;
|
||||||
|
|
||||||
int wipe ();
|
int wipe ();
|
||||||
|
|
@ -1151,15 +1162,6 @@ class LIBARDOUR_API Session : public PBD::StatefulDestructible, public PBD::Scop
|
||||||
static void init_name_id_counter (guint n);
|
static void init_name_id_counter (guint n);
|
||||||
static unsigned int name_id_counter ();
|
static unsigned int name_id_counter ();
|
||||||
|
|
||||||
enum SubState {
|
|
||||||
PendingDeclickIn = 0x1, ///< pending de-click fade-in for start
|
|
||||||
PendingDeclickOut = 0x2, ///< pending de-click fade-out for stop
|
|
||||||
StopPendingCapture = 0x4,
|
|
||||||
PendingLoopDeclickIn = 0x8, ///< pending de-click fade-in at the start of a loop
|
|
||||||
PendingLoopDeclickOut = 0x10, ///< pending de-click fade-out at the end of a loop
|
|
||||||
PendingLocate = 0x20,
|
|
||||||
};
|
|
||||||
|
|
||||||
/* stuff used in process() should be close together to
|
/* stuff used in process() should be close together to
|
||||||
maximise cache hits
|
maximise cache hits
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue