Oops. Create new captures with the right samplerate!
This commit is contained in:
parent
f596d205db
commit
4756fe3361
|
@ -719,7 +719,7 @@ Track::record ( nframes_t frame )
|
||||||
|
|
||||||
snprintf( pat, sizeof( pat ), "%s-%llu", name(), uuid() );
|
snprintf( pat, sizeof( pat ), "%s-%llu", name(), uuid() );
|
||||||
|
|
||||||
_capture_af = Audio_File_SF::create( pat, 48000, input.size(), Track::capture_format );
|
_capture_af = Audio_File_SF::create( pat, engine->sample_rate(), input.size(), Track::capture_format );
|
||||||
|
|
||||||
if ( ! _capture_af )
|
if ( ! _capture_af )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue