Browse Source

Build mipmap peaks in capture IO thread, but don't wait on it to finish. May be incorrect.

tags/non-daw-v1.1.0
Jonathan Moore Liles 17 years ago
parent
commit
f920867579
2 changed files with 6 additions and 2 deletions
  1. +4
    -2
      Timeline/Peaks.C
  2. +2
    -0
      Timeline/Record_DS.C

+ 4
- 2
Timeline/Peaks.C View File

@@ -574,8 +574,10 @@ Peaks::finish_writing ( void )
_peak_writer = NULL;

/* now fill in the rest of the cache */
if ( ! fork() )
exit( make_peaks_mipmap() );
make_peaks_mipmap();
/* if ( ! fork() ) */
/* exit( make_peaks_mipmap() ); */

}

/* THREAD: IO */


+ 2
- 0
Timeline/Record_DS.C View File

@@ -182,6 +182,8 @@ Record_DS::disk_thread ( void )
#ifndef AVOID_UNNECESSARY_COPYING
delete[] cbuf;
#endif

_thread = NULL;
}




Loading…
Cancel
Save