Changeset 307

Show
Ignore:
Timestamp:
09/21/06 16:07:35 (16 years ago)
Author:
jwoithe
Message:

Minor source code cleanups. No functional changes.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/libfreebob-2.0/src/libstreaming/MotuStreamProcessor.cpp

    r300 r307  
    248248                *length += read_size; 
    249249 
    250 // FIXME: if we choose to read the buffer even during closedown, 
    251 // here is where the data is silenced. 
    252 //             if (m_closedown_count >= 0) 
    253 //                     memset(data+8, 0, read_size); 
     250               // FIXME: if we choose to read the buffer even during closedown, 
     251               // here is where the data is silenced. 
     252               //   if (m_closedown_count >= 0) 
     253               //     memset(data+8, 0, read_size); 
    254254                if (m_closedown_count > 0) 
    255255                        m_closedown_count--; 
     
    261261                // audio is sent in and when the MOTU can actually play  
    262262                // that audio.  The SPH timestamp must account for this 
    263                 // it doesn't demand to be played before it's possible. 
     263                // so it doesn't demand to be played before it's possible. 
    264264                // For the duration of the event loop, account for the 
    265265                // CYCLE_DELAY within m_cycle_count to save having to wrap 
     
    13291329        unsigned int j=0; 
    13301330 
    1331 //      printf("****************\n"); 
    1332 //      hexDumpQuadlets(data,m_dimension*4); 
    1333 //      printf("****************\n"); 
    1334  
    13351331        // Use char here since a port's source address won't necessarily be 
    13361332        // aligned; use of an unaligned quadlet_t may cause issues on 
  • branches/libfreebob-2.0/src/motu/motu_avdevice.cpp

    r304 r307  
    649649        // Set up the optical control register value according to the current 
    650650        // optical port modes.  At this stage it's not completely understood  
    651         // what the "Optical control" register does, so the values its set to 
     651        // what the "Optical control" register does, so the values it's set to 
    652652        // are more or less "magic" numbers. 
    653653        if (reg & MOTUFW_OPTICAL_IN_MODE_MASK != (MOTUFW_OPTICAL_MODE_ADAT<<8))