Browse Source

Oops. Create new captures with the right samplerate!

tags/non-daw-v1.1.0
Jonathan Moore Liles 17 years ago
parent
commit
4756fe3361
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Timeline/Track.C

+ 1
- 1
Timeline/Track.C 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 )
{


Loading…
Cancel
Save