Changeset 456


Ignore:
Timestamp:
Aug 6, 2009, 11:30:14 AM (16 years ago)
Author:
Paul Smedley
Message:

Fixes to correctly initialise SPEAKER mixer control

Location:
GPL/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified GPL/trunk/include/ossidc.h

    r451 r456  
    244244#define OSS32_MIX_VOLUME_AUX            12      //Auxiliary volume
    245245#define OSS32_MIX_VOLUME_CAPTURE        13      //Recording volume
     246#define OSS32_MIX_VOLUME_SPEAKER        14      //Speaker volume
    246247#define OSS32_MIX_VOLUME_MAX            OSS32_MIX_VOLUME_CAPTURE
    247248
  • TabularUnified GPL/trunk/lib32/sound.c

    r386 r456  
    335335    printk("Number of cards: %i",nrCardsDetected);
    336336    printk("dev id: %i",deviceid);
    337     pDevCaps->nrDevices  = 1;//nrCardsDetected;
     337//    pDevCaps->nrDevices  = 1;//nrCardsDetected;
     338    pDevCaps->nrDevices  = nrCardsDetected;
    338339    pDevCaps->ulCaps     = OSS32_CAPS_WAVE_PLAYBACK | OSS32_CAPS_WAVE_CAPTURE;
    339340
Note: See TracChangeset for help on using the changeset viewer.