Results 1 to 10 of 43

Thread: OpenAL priority "Intelligent Source Manager"

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    OpenAL priority "Intelligent Source Manager"

    This is now improved version, i added full audio system pause (!) fixed sorting (also now uses bidirectional bubble sort, but something better should be used like quicksort? )

    I added audio buffer loading and searching (no unloading but you can do it manually yourself)

    The source-swaping works well, i just tested it in my game with 50 cars in same scene, and it performs as expected. distant sounds are swaped-out and near sounds are swaped-in to get smoothly around the openal 30 playing sounds limit.

    Link:
    https://github.com/JernejL/VirtualOpenAL

    This source code is free for any use. i would especialy like to see someone add it to glscene, which currently only supports fmod and bass, which are both commercial products.
    Last edited by JernejL; 21-05-2018 at 07:12 AM.
    This is my game project - Top Down City:
    http://www.pascalgamedevelopment.com...y-Topic-Reboot

    My OpenAL audio wrapper with Intelligent Source Manager to use unlimited:
    http://www.pascalgamedevelopment.com...source+manager

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •