/[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.7 by vizard, Tue Apr 29 23:01:05 2003 UTC revision 1.8 by vizard, Mon May 5 01:21:38 2003 UTC
# Line 420  void vortex_src_change_convratio(vortex_ Line 420  void vortex_src_change_convratio(vortex_
420                          a = (0x11 - ((ratio >> 0xe) & 0x3)) - 2;                          a = (0x11 - ((ratio >> 0xe) & 0x3)) - 2;
421          } else          } else
422                  a = 0xc;                  a = 0xc;
423      temp = hwread(vortex->mmio, 0xce00 + (src << 2));      temp = hwread(vortex->mmio, VORTEX_SRC_U0 + (src << 2));
424      if (((temp >> 4) & 0xf) != a)      if (((temp >> 4) & 0xf) != a)
425                  hwwrite(vortex->mmio, 0xce00 + (src << 2), (temp & 0xf) | ((a & 0xf) << 4));                  hwwrite(vortex->mmio, VORTEX_SRC_U0 + (src << 2), (temp & 0xf) | ((a & 0xf) << 4));
426    
427      vortex_src_persist_convratio(vortex, src, ratio);      vortex_src_persist_convratio(vortex, src, ratio);
428  }  }
# Line 445  void vortex_src_setupchannel(vortex_t *c Line 445  void vortex_src_setupchannel(vortex_t *c
445      // noplayback: d=2,4,7,0xa,0xb when using first 2 src's.      // noplayback: d=2,4,7,0xa,0xb when using first 2 src's.
446          // c: enables pitch sweep.          // c: enables pitch sweep.
447          // looks like g is c related. Maybe g is a sweep parameter ?          // looks like g is c related. Maybe g is a sweep parameter ?
448            // e: 0 = recording, 1 = playback
449    
450      int esi, ebp=0, esp10;      int esi, ebp=0, esp10;
451    

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

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