Changeset 332 for GPL


Ignore:
Timestamp:
Mar 31, 2008, 11:08:24 AM (17 years ago)
Author:
Paul Smedley
Message:

Fix sample rate setting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/uniaud32-2.0/lib32/sound.c

    r324 r332  
    992992    _snd_pcm_hw_param_set(&params, SNDRV_PCM_HW_PARAM_RATE,
    993993                          pHwParams->ulSampleRate, 0);
     994#if 0
    994995    _snd_pcm_hw_param_set(&params, SNDRV_PCM_HW_PARAM_PERIOD_SIZE,
    995996                          periodsize, 0);
     
    10021003    _snd_pcm_hw_param_set(&params, SNDRV_PCM_HW_PARAM_BUFFER_BYTES,
    10031004                          periodbytes*nrperiods, 0);
     1005#endif
    10041006//#ifdef DEBUG_PK
    10051007    printk("Hardware parameters: sample rate %i, data type %i, channels %i, period size %i, periods %i\n",
Note: See TracChangeset for help on using the changeset viewer.