Ignore:
Timestamp:
Mar 24, 2008, 4:30:28 AM (17 years ago)
Author:
Paul Smedley
Message:

Fix for detection of sample rate from Yoda

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/uniaud-2.0/lib32/ioctl.c

    r305 r307  
    383383            pWaveCaps->ulMaxRate     = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE)->max;
    384384
    385 //            mask = hw_param_mask(params, SNDRV_PCM_HW_PARAM_RATE_MASK);
    386             mask = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT);
     385            mask = hw_param_mask(params, SNDRV_PCM_HW_PARAM_RATE_MASK);
     386//            mask = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT);
    387387            pWaveCaps->ulRateFlags   = mask->bits[0];
    388388
Note: See TracChangeset for help on using the changeset viewer.