Code Monkey home page Code Monkey logo

Comments (3)

rdb avatar rdb commented on June 16, 2024 1

It looks like alSourcePlay is resetting the offset. Specifying the AL_SEC_OFFSET after this call fixes the problem. I will apply this as a short-term solution, and we can switch to openal-soft for 1.11.

from panda3d.

gabeklavans avatar gabeklavans commented on June 16, 2024

I believe I've identified the problem to be with the Apple OpenAL framework. For whatever reason, I believe the framework that comes with my macOS version (arm 14.x.y) does not support setting the AL_SEC_OFFSET value via alSourcef. When I link openal-soft 1.23.1, installed via homebrew, using the --openal-{inc,lib}dir flags with makepanda.py, then setTime works as expected. I think it may be time to start including openal builds in the prebuilt thirdparty download, given #1613

from panda3d.

rdb avatar rdb commented on June 16, 2024

I was going to say that we should try to fix this given that considerable effort has been put into making the OpenAL framework work, but if it is deprecated anyway, I suggest we don't fix this and simply go with openal-soft.

from panda3d.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.