- Timestamp:
- 12/04/09 03:50:31 (14 years ago)
- Files:
-
- trunk/libffado/src/rme/rme_avdevice.cpp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libffado/src/rme/rme_avdevice.cpp
r1697 r1746 671 671 } 672 672 673 674 673 // Add ports to the processor - TODO 675 674 std::string id=std::string("dev?"); … … 678 677 } 679 678 679 /* Now set up the transmit stream processor */ 680 m_transmitProcessor = new Streaming::RmeTransmitStreamProcessor(*this, 681 m_rme_model, event_size); 682 m_transmitProcessor->setVerboseLevel(getDebugLevel()); 683 if (!m_transmitProcessor->init()) { 684 debugFatal("Could not initialise receive processor!\n"); 685 return false; 686 } 687 if (!m_transmitProcessor->setDllBandwidth(xmit_sp_dll_bw)) { 688 debugFatal("Could not set DLL bandwidth\n"); 689 delete m_transmitProcessor; 690 m_transmitProcessor = NULL; 691 return false; 692 } 693 680 694 // Other things to be done: 681 // * create a transmit stream processor, set DLL bandwidth, add ports695 // * add ports to transmit stream processor 682 696 683 697 return true; … … 711 725 if (i == 0) { 712 726 m_receiveProcessor->setChannel(iso_rx_channel); 713 //m_transmitProcessor->setChannel(iso_tx_channel);727 m_transmitProcessor->setChannel(iso_tx_channel); 714 728 if (hardware_start_streaming(iso_rx_channel) != 0) 715 729 return false; … … 768 782 } 769 783 770 printf("writeRegister: %016llx = %08x\n", reg, data);784 //printf("writeRegister: %016llx = %08x\n", reg, data); 771 785 return (err==0)?0:-1; 772 786 } … … 791 805 } 792 806 793 printf("writeBlock: %016llx, size=%d (%d)\n", reg, n_quads, n_quads*4);807 //printf("writeBlock: %016llx, size=%d (%d)\n", reg, n_quads, n_quads*4); 794 808 return (err==0)?0:-1; 795 809 }