Changeset 20850

Show
Ignore:
Timestamp:
09/24/07 18:07:19 (1 year ago)
Author:
patrick
Message:

Fixed coding standard violations. No functional changes.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • juggler/branches/2.2/modules/sonix/plugins/Audiere/AudiereSoundImplementation.cpp

    r19729 r20850  
    127127   snx::SoundInfo si = this->lookup(alias); 
    128128 
    129    if((trackMap.count(alias) == 0) && (effectMap.count(alias) == 0)
     129   if( mTrackMap.count(alias) == 0 && mEffectMap.count(alias) == 0
    130130   { 
    131131      this->bind(alias); 
     
    142142         // Set audiere to loop indefinly if that is requested other wise play 
    143143         // only once. 
    144          if ( trackMap.count(alias) > 0 ) 
     144         if ( mTrackMap.count(alias) > 0 ) 
    145145         { 
    146             trackMap[alias]->setRepeat(looping == -1); 
    147             trackMap[alias]->play(); 
     146            mTrackMap[alias]->setRepeat(looping == -1); 
     147            mTrackMap[alias]->play(); 
    148148         } 
    149149      } 
     
    151151      { 
    152152         // if the sound is already bound then play it. 
    153          if ( effectMap.count(alias) > 0 ) 
     153         if ( mEffectMap.count(alias) > 0 ) 
    154154         { 
    155             effectMap[alias]->play(); 
     155            mEffectMap[alias]->play(); 
    156156         } 
    157157      } 
     
    169169   if ( si.streaming ) 
    170170   { 
    171       if ( trackMap.count(alias) > 0 ) 
    172       { 
    173          is_playing = trackMap[alias]->isPlaying(); 
     171      if ( mTrackMap.count(alias) > 0 ) 
     172      { 
     173         is_playing = mTrackMap[alias]->isPlaying(); 
    174174      } 
    175175   } 
     
    178178      is_playing = false; 
    179179      /* 
    180       if ( effectMap.count(alias) > 0 ) 
     180      if ( mEffectMap.count(alias) > 0 ) 
    181181      { 
    182182      } 
     
    227227   if ( this->lookup(alias).streaming ) 
    228228   { 
    229       if ( trackMap.count(alias) > 0 ) 
    230       { 
    231          trackMap[alias]->stop(); 
     229      if ( mTrackMap.count(alias) > 0 ) 
     230      { 
     231         mTrackMap[alias]->stop(); 
    232232      } 
    233233   } 
    234234   else 
    235235   { 
    236       if ( effectMap.count(alias) > 0 ) 
    237       { 
    238          effectMap[alias]->stop(); 
     236      if ( mEffectMap.count(alias) > 0 ) 
     237      { 
     238         mEffectMap[alias]->stop(); 
    239239      } 
    240240   } 
     
    324324   if ( si.streaming ) 
    325325   { 
    326       if ( trackMap.count(alias) > 0 ) 
    327       { 
    328          trackMap[alias]->setVolume(amount); 
     326      if ( mTrackMap.count(alias) > 0 ) 
     327      { 
     328         mTrackMap[alias]->setVolume(amount); 
    329329      } 
    330330   } 
    331331   else 
    332332   { 
    333       if ( effectMap.count(alias) > 0 ) 
    334       { 
    335          effectMap[alias]->setVolume(amount); 
     333      if ( mEffectMap.count(alias) > 0 ) 
     334      { 
     335         mEffectMap[alias]->setVolume(amount); 
    336336      } 
    337337   } 
     
    444444      if ( NULL != stream ) 
    445445      { 
    446          trackMap[alias] = stream; 
     446         mTrackMap[alias] = stream; 
    447447      } 
    448448      else 
     
    463463      if ( NULL != effect ) 
    464464      { 
    465          effectMap[alias] = effect; 
     465         mEffectMap[alias] = effect; 
    466466      } 
    467467      else 
  • juggler/branches/2.2/modules/sonix/plugins/Audiere/AudiereSoundImplementation.h

    r19729 r20850  
    281281   bool mIsPlaying; 
    282282 
    283    std::map<std::string, audiere::OutputStreamPtr> trackMap; 
    284    std::map<std::string, audiere::SoundEffectPtr> effectMap; 
     283   std::map<std::string, audiere::OutputStreamPtr> mTrackMap; 
     284   std::map<std::string, audiere::SoundEffectPtr> mEffectMap; 
    285285}; 
    286286