Changeset 0caeed7 in orbit


Ignore:
Timestamp:
03/20/13 00:32:08 (7 years ago)
Author:
Steve Castellotti <sc@…>
Branches:
master, RawEEG, Raw_EEG_Plot, Servo, Tab_Interface, pyramid
Children:
a9059a5
Parents:
c298bcb
Message:
  • Call to "[self prepareAudio];" added anywhere [audioPlayer stop]; is called. This is intended to reset playback of the infrared audio control file in between flights so the initialization string is always sent to the IR dongle. Should address Ticket #10.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • iOS/Orbit/Orbit/ViewController.m

    r067ea71 r0caeed7  
    233233   } else { 
    234234      [audioPlayer stop]; 
     235      [self prepareAudio]; 
     236       
    235237   } 
    236238} 
     
    255257   if (audioPlayer != NULL && [audioPlayer isPlaying]) { 
    256258      [audioPlayer stop]; 
     259      [self prepareAudio]; 
    257260   } 
    258261   [self logMessage:@"Demo stopped"]; 
     
    326329   [self resetOutputToZero]; 
    327330   [audioPlayer stop]; 
     331   [self prepareAudio]; 
    328332    
    329333} 
Note: See TracChangeset for help on using the changeset viewer.