remove unused Source::SourcePropertyChanged signal

This commit is contained in:
Paul Davis 2021-05-13 21:34:12 -06:00
parent 8fc8cbf4af
commit 7c9f8fcbf2
4 changed files with 0 additions and 16 deletions

View File

@ -136,8 +136,6 @@ public:
void set_captured_for (std::string str) { _captured_for = str; }
std::string captured_for() const { return _captured_for; }
static PBD::Signal1<void,boost::shared_ptr<ARDOUR::Source> > SourcePropertyChanged;
protected:
DataType _type;
Flag _flags;

View File

@ -1191,9 +1191,6 @@ DiskWriter::transport_stopped_wallclock (struct tm& when, time_t twhen, bool abo
(*chan)->write_source->stamp (twhen);
(*chan)->write_source->set_captured_xruns (capture_info.front()->xruns);
/* "re-announce the source to the world */
Source::SourcePropertyChanged ((*chan)->write_source);
}

View File

@ -1598,7 +1598,6 @@ Region::set_master_sources (const SourceList& srcs)
for (SourceList::const_iterator i = _master_sources.begin (); i != _master_sources.end(); ++i) {
(*i)->inc_use_count ();
// Source::SourcePropertyChanged( *i );
}
}

View File

@ -58,8 +58,6 @@ using namespace std;
using namespace ARDOUR;
using namespace PBD;
PBD::Signal1<void,boost::shared_ptr<ARDOUR::Source> > Source::SourcePropertyChanged;
Source::Source (Session& s, DataType type, const string& name, Flag flags)
: SessionObject(s, name)
@ -354,13 +352,6 @@ void
Source::inc_use_count ()
{
g_atomic_int_inc (&_use_count);
try {
boost::shared_ptr<Source> sptr = shared_from_this();
SourcePropertyChanged (sptr);
} catch (...) {
/* no shared_ptr available, relax; */
}
}
void
@ -379,7 +370,6 @@ Source::dec_use_count ()
try {
boost::shared_ptr<Source> sptr = shared_from_this();
SourcePropertyChanged (sptr);
} catch (...) {
/* no shared_ptr available, relax; */
}