Changeset 3695:2af1f5008c26 in roaraudio


Ignore:
Timestamp:
04/22/10 21:21:01 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

use optimal fragment size as request

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/driver_alsa.c

    r3693 r3695  
    4141 int               rc; 
    4242 unsigned          buffer_time = 200000; // 200ms buffer 
    43  snd_pcm_uframes_t frames      = 256; //ROAR_OUTPUT_BUFFER_SAMPLES; //256; // ALSA frames 
     43 snd_pcm_uframes_t frames      = ROAR_OUTPUT_BUFFER_SAMPLES; // ALSA frames 
    4444 snd_pcm_format_t  format      = SND_PCM_FORMAT_UNKNOWN; // If this isn't set further down, we pick 16 bit audio if we're using autoconf. 
    4545 uint16_t          channels    = info->channels; 
Note: See TracChangeset for help on using the changeset viewer.