~ubuntu-branches/ubuntu/edgy/muse/edgy

« back to all changes in this revision

Viewing changes to muse/audio.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Kobras
  • Date: 2006-01-03 20:18:47 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20060103201847-r9poqt6y5gu9hnji
Tags: 0.7.1+0.7.2pre5-1
* New upstream version.
* Updated patches:
  + [20_allow_system_timer]
    Rediffed for 0.7.2pre5.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
//=========================================================
2
2
//  MusE
3
3
//  Linux Music Editor
4
 
//  $Id: audio.cpp,v 1.59.2.9 2005/12/13 20:56:14 spamatica Exp $
 
4
//  $Id: audio.cpp,v 1.59.2.10 2005/12/26 21:13:21 spamatica Exp $
5
5
//
6
6
//  (C) Copyright 2001-2004 Werner Schweer (ws@seh.de)
7
7
//=========================================================
226
226
void Audio::shutdown()
227
227
      {
228
228
      _running = false;
229
 
      printf("JACK shutdown callback\n");
 
229
      printf("JACK: shutdown callback\n");
230
230
      write(sigFd, "S", 1);
231
231
      }
232
232
 
376
376
 
377
377
void Audio::process1(unsigned samplePos, unsigned offset, unsigned frames)
378
378
      {
379
 
      midiSeq->msgProcess();
 
379
      if (midiSeqRunning)
 
380
            midiSeq->msgProcess();
380
381
      OutputList* ol = song->outputs();
381
382
      for (iAudioOutput i = ol->begin(); i != ol->end(); ++i) {
382
383
            (*i)->process(samplePos, offset, frames);