Giter Site home page Giter Site logo

nim-raylib-forever-raylib-audio-bug's Introduction

Nim/Raylib-Forever/raylib bug

This repo consists of small pieces of code and data from Raylib-Forever, and the 3.0.0 vesion of the libraylib.so that attempts to be the smallest possible reproduction of an audio playback bug.

The Bug

I have only been able to reproduce this bug on Linux. Specifically, Ubuntu 20.04.

The expected result is that the "pew-pew" noise in the .wav file gets played, then the vocal from the .ogg file gets played.

What happens instead is, the vocal from the .ogg is played twice.

If we swap the order of the LoadSound calls, the .wav plays twice, suggesting the previously loaded sound is overwitten.

On Linux, the executable must be run with LD_LIBRARY_PATH set to a value that includes the libraylib.so file. So, running the following in the same directory as the multi_channel_reduced.nim file should reproduce the bug:

LD_LIBRARY_PATH='.' nim c -r multi_channel_reduced.nim

nim-raylib-forever-raylib-audio-bug's People

Contributors

ryan1729 avatar

Watchers

James Cloos avatar  avatar  avatar

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.