/[openvortex]/alsa/pci/au88x0/au88x0_core.c
ViewVC logotype

Diff of /alsa/pci/au88x0/au88x0_core.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by vizard, Tue Apr 15 22:01:03 2003 UTC revision 1.2 by vizard, Thu Apr 17 01:13:03 2003 UTC
# Line 440  void vortex_src_change_convratio(vortex_ Line 440  void vortex_src_change_convratio(vortex_
440                          a = (0x11 - ((ratio >> 0xe) & 0x3)) - 2;                          a = (0x11 - ((ratio >> 0xe) & 0x3)) - 2;
441          } else          } else
442                  a = 0xc;                  a = 0xc;
443      temp = hwread(vortex->mmio, 0xce00 + (src << 2));      temp = hwread(vortex->mmio, VORTEX_SRC_U0 + (src << 2));
444      if (((temp >> 4) & 0xf) != a)      if (((temp >> 4) & 0xf) != a)
445                  hwwrite(vortex->mmio, 0xce00 + (src << 2), (temp & 0xf) | ((a & 0xf) << 4));                  hwwrite(vortex->mmio, VORTEX_SRC_U0 + (src << 2), (temp & 0xf) | ((a & 0xf) << 4));
446                    
447      vortex_src_persist_convratio(vortex, src, ratio);      vortex_src_persist_convratio(vortex, src, ratio);
448  }  }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26