• Show log

    Commit

  • Hash : 9d294f1f
    Author : Ethan Lee
    Date : 2021-03-27T00:53:10

    audio: Allow AudioStreamGet to return 0 in RunAudio.
    
    While we should normally expect _something_ from the stream based on the
    AudioStreamAvailable check, it's possible for a device change to flush the
    stream at an inconvenient time, causing this function to return 0.
    
    Thing is, this is harmless. Either data will be NULL and the result won't matter
    anyway, or the data buffer will be zeroed out and the output will just be
    silence for the brief moment that the device change is occurring. Both scenarios
    work themselves out, and testing on Windows shows that this behavior is safe.
    

  • 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_w kc3_lang_org thodg_l thodg_m www_kmx_io thodg
    Tags

  • README.md

  • 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)