Changeset 1072

Show
Ignore:
Timestamp:
04/30/08 07:30:39 (13 years ago)
Author:
ppalmers
Message:

fix bug in saffire LE mixer code

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/config.h.in

    r1060 r1072  
    5656// support backtrace debugging 
    5757// note that this does not influence non-debug builds 
    58 #define DEBUG_BACKTRACE_SUPPORT              0 
     58#define DEBUG_BACKTRACE_SUPPORT              1 
    5959// max length of backtrace 
    6060#define DEBUG_MAX_BACKTRACE_LENGTH           8 
  • trunk/libffado/src/bebob/focusrite/focusrite_generic.cpp

    r973 r1072  
    445445    c.address=addr; 
    446446 
    447     m_CellInfo[row][col]=c; 
     447    m_CellInfo.at(row).at(col) = c; 
    448448} 
    449449 
  • trunk/libffado/src/bebob/focusrite/focusrite_saffire.cpp

    r965 r1072  
    310310        for (int i=0;i<FOCUSRITE_SAFFIRE_PCMIX_NB_ROWS;i++) { 
    311311            for (int j=0;j<FOCUSRITE_SAFFIRE_PCMIX_NB_COLS;j++) { 
    312                 m_CellInfo[i][j]=c; 
     312                m_CellInfo.at(i).at(j) = c; 
    313313            } 
    314314        } 
     
    376376        for (int i=0;i<FOCUSRITE_SAFFIRE_INPUTMIX_NB_ROWS;i++) { 
    377377            for (int j=0;j<FOCUSRITE_SAFFIRE_INPUTMIX_NB_COLS;j++) { 
    378                 m_CellInfo[i][j]=c; 
     378                m_CellInfo.at(i).at(j) = c; 
    379379            } 
    380380        } 
     
    449449        c.address=0; 
    450450         
    451         for (int i=0;i<FOCUSRITE_SAFFIRELE_48KMIX_NB_COLS;i++) { 
    452             for (int j=0;j<FOCUSRITE_SAFFIRELE_48KMIX_NB_ROWS;j++) { 
    453                 m_CellInfo[i][j]=c; 
     451        for (int i=0;i<FOCUSRITE_SAFFIRELE_48KMIX_NB_ROWS;i++) { 
     452            for (int j=0;j<FOCUSRITE_SAFFIRELE_48KMIX_NB_COLS;j++) { 
     453                m_CellInfo.at(i).at(j) = c; 
    454454            } 
    455455        } 
     
    552552        c.address=0; 
    553553         
    554         for (int i=0;i<FOCUSRITE_SAFFIRELE_96KMIX_NB_COLS;i++) { 
    555             for (int j=0;j<FOCUSRITE_SAFFIRELE_96KMIX_NB_ROWS;j++) { 
    556                 m_CellInfo[i][j]=c; 
     554        for (int i=0;i<FOCUSRITE_SAFFIRELE_96KMIX_NB_ROWS;i++) { 
     555            for (int j=0;j<FOCUSRITE_SAFFIRELE_96KMIX_NB_COLS;j++) { 
     556                m_CellInfo.at(i).at(j) = c; 
    557557            } 
    558558        }