- Timestamp:
- 09/23/08 03:42:04 (16 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libffado/src/libstreaming/amdtp/AmdtpTransmitStreamProcessor.cpp
r1254 r1336 195 195 { 196 196 // we are too late 197 debugOutput(DEBUG_LEVEL_VER Y_VERBOSE,197 debugOutput(DEBUG_LEVEL_VERBOSE, 198 198 "Too late: CY=%04u, TC=%04u, CUT=%04d, TSP=%011llu (%04u)\n", 199 199 CYCLE_TIMER_GET_CYCLES(pkt_ctr), … … 492 492 unsigned int j; 493 493 quadlet_t *target_event; 494 unsignedint i;494 int i; 495 495 496 496 for (i = 0; i < m_nb_audio_ports; i++) { … … 523 523 unsigned int j; 524 524 quadlet_t *target_event; 525 unsignedint i;525 int i; 526 526 527 527 float * client_buffers[4]; … … 543 543 // this assumes that audio ports are sorted by position, 544 544 // and that there are no gaps 545 for (i = 0; i < m_nb_audio_ports-4; i += 4) {545 for (i = 0; i < ((int)m_nb_audio_ports)-4; i += 4) { 546 546 struct _MBLA_port_cache *p; 547 547 … … 615 615 // do remaining ports 616 616 // NOTE: these can be time-SSE'd 617 for (; i < m_nb_audio_ports; i++) {617 for (; i < (int)m_nb_audio_ports; i++) { 618 618 struct _MBLA_port_cache &p = m_audio_ports.at(i); 619 619 target_event = (quadlet_t *)(data + i); … … 715 715 unsigned int j; 716 716 quadlet_t *target_event; 717 unsignedint i;717 int i; 718 718 719 719 uint32_t *client_buffers[4]; … … 729 729 // this assumes that audio ports are sorted by position, 730 730 // and that there are no gaps 731 for (i = 0; i < m_nb_audio_ports-4; i += 4) {731 for (i = 0; i < ((int)m_nb_audio_ports)-4; i += 4) { 732 732 struct _MBLA_port_cache *p; 733 733 … … 789 789 // do remaining ports 790 790 // NOTE: these can be time-SSE'd 791 for (; i < m_nb_audio_ports; i++) {791 for (; i < ((int)m_nb_audio_ports); i++) { 792 792 struct _MBLA_port_cache &p = m_audio_ports.at(i); 793 793 target_event = (quadlet_t *)(data + i); … … 872 872 unsigned int j; 873 873 quadlet_t *target_event; 874 unsignedint i;874 int i; 875 875 876 876 for (i = 0; i < m_nb_audio_ports; i++) { … … 913 913 unsigned int j; 914 914 quadlet_t *target_event; 915 unsignedint i;915 int i; 916 916 917 917 for (i = 0; i < m_nb_audio_ports; i++) { … … 962 962 { 963 963 quadlet_t *target_event; 964 unsigned int i,j; 964 int i; 965 unsigned int j; 965 966 966 967 for (i = 0; i < m_nb_midi_ports; i++) { … … 986 987 { 987 988 quadlet_t *target_event; 988 unsigned int i,j; 989 int i; 990 unsigned int j; 989 991 990 992 for (i = 0; i < m_nb_midi_ports; i++) { … … 1062 1064 } 1063 1065 1064 unsignedint idx;1066 int idx; 1065 1067 for (idx = 0; idx < m_nb_audio_ports; idx++) { 1066 1068 for(PortVectorIterator it = m_Ports.begin(); … … 1072 1074 "idx %u: looking at port %s at position %u\n", 1073 1075 idx, (*it)->getName().c_str(), pinfo->getPosition()); 1074 if(pinfo->getPosition() == idx) {1076 if(pinfo->getPosition() == (unsigned int)idx) { 1075 1077 struct _MBLA_port_cache p; 1076 1078 p.port = dynamic_cast<AmdtpAudioPort *>(*it); … … 1131 1133 void 1132 1134 AmdtpTransmitStreamProcessor::updatePortCache() { 1133 unsignedint idx;1135 int idx; 1134 1136 for (idx = 0; idx < m_nb_audio_ports; idx++) { 1135 1137 struct _MBLA_port_cache& p = m_audio_ports.at(idx);