Show
Ignore:
Timestamp:
03/05/10 03:47:13 (3 years ago)
Author:
wolke
Message:

add a simple export tracks function. if checkbox track-outs is checked all used instruments will exported to an own audio file.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/libs/hydrogen/src/hydrogen.cpp

    r1567 r1605  
    24242424 
    24252425/// Export a song to a wav file, returns the elapsed time in mSec 
    2426 void Hydrogen::startExportSong( const QString& filename, int rate, int depth ) 
     2426bool Hydrogen::startExportSong( const QString& filename, int rate, int depth ) 
    24272427{ 
    24282428        if ( getState() == STATE_PLAYING ) { 
     
    24752475                _ERRORLOG( "Error starting disk writer driver " 
    24762476                           "[DiskWriterDriver::connect()]" ); 
    2477         } 
     2477                return false; 
     2478        } 
     2479        return true; 
    24782480} 
    24792481