Changeset 506


Ignore:
Timestamp:
Jul 11, 2010, 8:10:27 AM (15 years ago)
Author:
David Azarewicz
Message:

work on volume problem for capture

Location:
GPL/branches/uniaud32-2.1.x
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/uniaud32-2.1.x/lib32/misc.c

    r499 r506  
    3939#include <linux/firmware.h>
    4040#include <dbgos2.h>
    41 #include <printfos2.h>
    4241
    4342struct new_utsname system_utsname = {0};
  • GPL/branches/uniaud32-2.1.x/lib32/soundmixer.c

    r485 r506  
    516516                GET_VOLUME_L(volume), GET_VOLUME_R(volume), lVol, rVol, pElemInfo->value.integer.max);
    517517
     518#if 1
     519        ret = pHandle->file.f_op->ioctl(&pHandle->inode, &pHandle->file, SNDRV_CTL_IOCTL_ELEM_WRITE, (ULONG)pElem);
     520#else
    518521    // looking for more, then one opened streams to prevent of muting active stream
    519522    cnt = 0;
     
    522525            cnt++;
    523526
     527        printk("OSS32_MixSetVolume old cnt=%X line=%x lVol=%x rVol=%x\n", cnt, line, lVol, rVol);
    524528    //    if (((cnt == 1 && (lVol==0 && rVol==0)) || (lVol>0 && rVol>0)) ||
    525529    if (cnt == 1 || line != OSS32_MIX_VOLUME_PCM)
    526530    {
     531                printk("OSS32_MixSetVolume Ioctl\n");
    527532        ret = pHandle->file.f_op->ioctl(&pHandle->inode, &pHandle->file, SNDRV_CTL_IOCTL_ELEM_WRITE, (ULONG)pElem);
    528533
     
    534539            pElem->value.integer.value[0] = FALSE;  //switch, not mute control (inversed)
    535540            pElem->value.integer.value[1] = FALSE;
     541                        printk("OSS32_MixSetVolume Ioctl mute\n");
    536542            ret = pHandle->file.f_op->ioctl(&pHandle->inode, &pHandle->file, SNDRV_CTL_IOCTL_ELEM_WRITE, (ULONG)pElem);
    537543        }
    538544    }
     545#endif
    539546
    540547    kfree(pElem);
  • GPL/branches/uniaud32-2.1.x/uniaud.inc

    r504 r506  
    1313# ex RC3  GA  FIXPACK2 beta_47
    1414# Comment out to avoid a fixpack line in bldlevel
    15 FIXPACK = BETA SVN r504
     15FIXPACK = BETA SVN r506
    1616
    1717# ALSA BUILD VERSION
Note: See TracChangeset for help on using the changeset viewer.