Oops. Create new captures with the right samplerate!

This commit is contained in:
Jonathan Moore Liles 2008-04-29 23:29:09 -05:00
parent f596d205db
commit 4756fe3361
1 changed files with 1 additions and 1 deletions

View File

@ -719,7 +719,7 @@ Track::record ( nframes_t frame )
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 )
{