From c8e3f32533cc6f4481222781d93e7bf7c32ffe5f Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 16 Jul 2010 14:55:11 +0000 Subject: newly created files for use in recording appear in a .stubs folder, and are moved out of it when recording stops git-svn-id: svn://localhost/ardour2/branches/3.0@7426 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/source.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libs/ardour/source.cc') diff --git a/libs/ardour/source.cc b/libs/ardour/source.cc index f819e6eb42..6ab907ba16 100644 --- a/libs/ardour/source.cc +++ b/libs/ardour/source.cc @@ -272,6 +272,12 @@ Source::set_allow_remove_if_empty (bool yn) } } +void +Source::inc_use_count () +{ + g_atomic_int_inc (&_use_count); +} + void Source::dec_use_count () { -- cgit v1.2.3