Timeline: Fix error in reference counting of newly recorded clips.
This commit is contained in:
parent
d795a484f0
commit
13c3ca8eb8
|
@ -147,8 +147,6 @@ done:
|
|||
|
||||
_open_files[ std::string( filename ) ] = a;
|
||||
|
||||
a->_refs = 1;
|
||||
|
||||
return a;
|
||||
}
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ public:
|
|||
_path =_filename = NULL;
|
||||
_samplerate = 0;
|
||||
_length = _channels = 0;
|
||||
_refs = 0;
|
||||
_refs = 1;
|
||||
}
|
||||
|
||||
virtual ~Audio_File ( );
|
||||
|
|
Loading…
Reference in New Issue