• Show log

    Commit

  • Hash : 680e7937
    Author : Sam Lantinga
    Date : 2019-07-07T09:10:56

    Fixed bug 4710 - audio/alsa: avoid configuring hardware parameters with only a single period
    
    Anthony Pesch
    
    The previous code first configured the period size using snd_pcm_hw_par-
    ams_set_period_size_near. Then, it further narrowed the configuration
    space by calling snd_pcm_hw_params_set_buffer_size_near using a buffer
    size of 2 times the _requested_ period size in order to try and get a
    configuration with only 2 periods. If the configured period size was
    larger than the requested size, the second call could inadvertently
    narrow the configuration space to contain only a single period.
    
    Rather than fixing the call to snd_pcm_hw_params_set_buffer_size_near
    to use a size of 2 times the configured period size, the code has been
    changed to use snd_pcm_hw_params_set_periods_min in order to more
    clearly explain the intent.
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/SDL.git
    Git SSH git@git.kmx.io:kc3-lang/SDL.git
    Public access ? public
    Description

    Fork of https://github.com/libsdl-org/SDL

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags

  • README.txt

  •                          Simple DirectMedia Layer
    
                                      (SDL)
    
                                    Version 2.0
    
    ---
    https://www.libsdl.org/
    
    Simple DirectMedia Layer is a cross-platform development library designed
    to provide low level access to audio, keyboard, mouse, joystick, and graphics
    hardware via OpenGL and Direct3D. It is used by video playback software,
    emulators, and popular games including Valve's award winning catalog
    and many Humble Bundle games.
    
    More extensive documentation is available in the docs directory, starting
    with README.md
    
    Enjoy!
    	Sam Lantinga				(slouken@libsdl.org)