Changeset 171 for sbliveos2/trunk


Ignore:
Timestamp:
Mar 26, 2001, 12:06:43 AM (24 years ago)
Author:
sandervl
Message:

header update

Location:
sbliveos2/trunk/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sbliveos2/trunk/include/daudio.h

    r164 r171  
    2424    struct
    2525      {
    26       ULONG   Volume;           // left & right volume (high/low word)
     26      ULONG   VolumeL;          // left volume (0..100)
     27      ULONG   VolumeR;          // right volume (0..100)
    2728      } Vol;
    2829    struct
  • sbliveos2/trunk/include/ossidc.h

    r153 r171  
    161161
    162162#define MAKE_VOLUME_LR(l, r)            ((r << 8) | l)
     163
     164#define GET_VOLUME_R(vol)               (vol >> 8)
     165#define GET_VOLUME_L(vol)               (vol & 0xff)
    163166
    164167#define MIX_RECSRC_MIC                  0
Note: See TracChangeset for help on using the changeset viewer.