Changeset 1871

Show
Ignore:
Timestamp:
07/19/10 06:50:37 (2 years ago)
Author:
jwoithe
Message:

RME: put test tone onto all channels in case ffado has the wrong idea about channel ordering. It made no difference, so the test code has been commented out for now, leaving the test tone theoretically on Phones-L only.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/src/libstreaming/rme/RmeTransmitStreamProcessor.cpp

    r1870 r1871  
    299299float ticks_per_frame = m_Parent.getDeviceManager().getStreamProcessorManager().getSyncSource().getTicksPerFrame(); 
    300300  signed int i, int_tpf = lrintf(ticks_per_frame); 
     301//signed int j; 
     302//  quadlet_t *sample = (quadlet_t *)data; 
    301303  quadlet_t *sample = (quadlet_t *)data + 6; 
    302304if (dpy==0) { 
     
    308310    static signed int a_cx = 0; 
    309311    signed int val = lrintf(0x7fffff*sin((1000.0*2.0*M_PI/24576000.0)*a_cx)); 
     312//for (j=0; j<18;j++) 
     313//*(sample+j) = val << 8; 
    310314    *sample = val << 8; 
    311315    if ((a_cx+=int_tpf) >= 24576000) {