Ignore:
Timestamp:
Jan 10, 2018, 1:01:21 PM (8 years ago)
Author:
David Azarewicz
Message:

Reverted one change which caused problems for many systems.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk/lib32/sound.c

    r604 r605  
    979979  /* Change from Andy. If statement added around 5 statements.
    980980   * 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.
    982984   */
    983   if (periodsize > 6 * minperiodsize)
    984   {
     985//  if (periodsize > 6 * minperiodsize)
     986//  {
    985987        _snd_pcm_hw_param_set(&params, SNDRV_PCM_HW_PARAM_PERIOD_SIZE,
    986988                                                   periodsize, 0);
     
    993995        _snd_pcm_hw_param_set(&params, SNDRV_PCM_HW_PARAM_BUFFER_BYTES,
    994996                                                   periodbytes*nrperiods, 0);
    995   }
     997//  }
    996998
    997999        dprintf(("HWP: SR rate %ld, BPS %ld, CH %ld, PRSZ %lx, periods %lx",
Note: See TracChangeset for help on using the changeset viewer.