Changeset 604 for GPL/trunk/lib32/sound.c
- Timestamp:
- Jan 8, 2018, 2:07:36 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/lib32/sound.c
r598 r604 976 976 _snd_pcm_hw_param_set(¶ms, SNDRV_PCM_HW_PARAM_RATE, 977 977 pHwParams->ulSampleRate, 0); 978 979 /* Change from Andy. If statement added around 5 statements. 980 * Andy says: TODO: determine why small buffers are a problem for this code 981 * DAZ: This change is questionable. 982 */ 983 if (periodsize > 6 * minperiodsize) 984 { 978 985 _snd_pcm_hw_param_set(¶ms, SNDRV_PCM_HW_PARAM_PERIOD_SIZE, 979 986 periodsize, 0); … … 986 993 _snd_pcm_hw_param_set(¶ms, SNDRV_PCM_HW_PARAM_BUFFER_BYTES, 987 994 periodbytes*nrperiods, 0); 988 995 } 989 996 990 997 dprintf(("HWP: SR rate %ld, BPS %ld, CH %ld, PRSZ %lx, periods %lx",
Note:
See TracChangeset
for help on using the changeset viewer.