Changeset 605 for GPL/trunk/lib32/sound.c
- Timestamp:
- Jan 10, 2018, 1:01:21 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/lib32/sound.c
r604 r605 979 979 /* Change from Andy. If statement added around 5 statements. 980 980 * Andy says: TODO: determine why small buffers are a problem for this code 981 * DAZ: This change is questionable. 981 * 20100107: DAZ: This change is questionable. 982 * 20180109: DAZ: This changes causes problems for many systems including intermittent 983 * sound and unexpected hangs. Reverted by commenting out the if statement. 982 984 */ 983 if (periodsize > 6 * minperiodsize)984 {985 // if (periodsize > 6 * minperiodsize) 986 // { 985 987 _snd_pcm_hw_param_set(¶ms, SNDRV_PCM_HW_PARAM_PERIOD_SIZE, 986 988 periodsize, 0); … … 993 995 _snd_pcm_hw_param_set(¶ms, SNDRV_PCM_HW_PARAM_BUFFER_BYTES, 994 996 periodbytes*nrperiods, 0); 995 }997 // } 996 998 997 999 dprintf(("HWP: SR rate %ld, BPS %ld, CH %ld, PRSZ %lx, periods %lx",
Note:
See TracChangeset
for help on using the changeset viewer.