• Eric Laurent's avatar
    Add dynamic change of avail_min for mmap mode · 73b9c679
    Eric Laurent authored
    Added support for setting avail_min when opening a stream as well
    as dynamically changing its value whitout stopping playback when the
    stream is opened in mmap and no irq mode.
    
    Allow writing less than avail_min frames to pcm_mmap_write() without
    systematically waiting for avail_min frames to be available.
    
    Also fixed wait timeout for no irq mode in pcm_mmap_write().
    
    Change-Id: Ief8e05dde8d538185174da9ef14e27a0a470057c
    73b9c679
asoundlib.h 6.73 KB