Changeset 409

Show
Ignore:
Timestamp:
02/20/07 14:30:58 (17 years ago)
Author:
jwoithe
Message:

MOTU: the calculated bandwidth is already a per channel figure.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/streaming-rework/src/motu/motu_avdevice.cpp

    r408 r409  
    345345        // size (1160 bytes at 192 kHz) so the sampling frequency can be 
    346346        // changed dynamically if this ends up being useful in future. 
     347        // Therefore we get a *per stream* bandwidth figure of 25+1160. 
    347348        m_bandwidth = 25 + 1160; 
    348  
    349     // FIXME: bandwidth equally split over the channels 
    350349 
    351350        // Assign iso channels if not already done 
    352351        if (m_iso_recv_channel < 0) 
    353                 m_iso_recv_channel = m_1394Service->allocateIsoChannelGeneric(m_bandwidth/2); 
     352                m_iso_recv_channel = m_1394Service->allocateIsoChannelGeneric(m_bandwidth); 
    354353                 
    355354        if (m_iso_send_channel < 0) 
    356                 m_iso_send_channel = m_1394Service->allocateIsoChannelGeneric(m_bandwidth/2); 
     355                m_iso_send_channel = m_1394Service->allocateIsoChannelGeneric(m_bandwidth); 
    357356 
    358357        debugOutput(DEBUG_LEVEL_VERBOSE, "recv channel = %d, send channel = %d\n",