• Show log

    Commit

  • Hash : b128e880
    Author : Ryan C. Gordon
    Date : 2017-08-29T00:41:45

    audio: A whole bunch of improvements to audio conversion (thanks, Solra!).
    
    "Major changes, roughly in order of appearance:
    
    - Use float math everywhere, instead of promoting to double and casting back
    all the time.
    - Conserve sound energy when downmixing any channel into two other channels.
    - Add a QuadToStereo filter. (The previous technique of reusing StereoToMono
    never worked, since it assumed an incorrect channel layout for 4.0.)
    - Add a 71to51 filter. This removes just under half of the cases the previous
    code would silently break in.
    - Add a QuadTo51 filter. More silent breakage fixed.
    - Add a 51to71 filter, removing another almost-half of the silently broken
    cases.
    - Add 8 to the list of values SDL_SupportedChannelCount will accept.
    - Change SDL_BuildAudioCVT's channel-related logic to handle every case, and
    to actually fail if it fails instead of silently corrupting sound data and/or
    crashing down the road."
    
    (Note that SDL doesn't otherwise support 7.1 audio yet, but hopefully it will
    soon and the 7.1 converters are an important piece of that.  --ryan.)
    
    Fixes Bugzilla #3727.
    

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