Changeset 307
- Timestamp:
- 09/21/06 16:07:35 (16 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/libfreebob-2.0/src/libstreaming/MotuStreamProcessor.cpp
r300 r307 248 248 *length += read_size; 249 249 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); 254 254 if (m_closedown_count > 0) 255 255 m_closedown_count--; … … 261 261 // audio is sent in and when the MOTU can actually play 262 262 // 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. 264 264 // For the duration of the event loop, account for the 265 265 // CYCLE_DELAY within m_cycle_count to save having to wrap … … 1329 1329 unsigned int j=0; 1330 1330 1331 // printf("****************\n");1332 // hexDumpQuadlets(data,m_dimension*4);1333 // printf("****************\n");1334 1335 1331 // Use char here since a port's source address won't necessarily be 1336 1332 // aligned; use of an unaligned quadlet_t may cause issues on branches/libfreebob-2.0/src/motu/motu_avdevice.cpp
r304 r307 649 649 // Set up the optical control register value according to the current 650 650 // optical port modes. At this stage it's not completely understood 651 // what the "Optical control" register does, so the values it s set to651 // what the "Optical control" register does, so the values it's set to 652 652 // are more or less "magic" numbers. 653 653 if (reg & MOTUFW_OPTICAL_IN_MODE_MASK != (MOTUFW_OPTICAL_MODE_ADAT<<8))