Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libsoundio + libsndfile audio backend #33

Open
wants to merge 59 commits into
base: master
Choose a base branch
from
Open

libsoundio + libsndfile audio backend #33

wants to merge 59 commits into from

Commits on Jul 15, 2016

  1. Configuration menu
    Copy the full SHA
    fb1c086 View commit details
    Browse the repository at this point in the history
  2. Added libsoundio paths to build, moved to libsoundio as the default a…

    …udio gem
    
    Moved gorilla linker line into the gorilla audio gem
    IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    dc44e7d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a776a20 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    933bb5f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    05a2b1d View commit details
    Browse the repository at this point in the history
  6. modules/audio-libsoundio: Added SoundBuffer#sampleRate

    I totally forgot about it
    IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    4b83dc6 View commit details
    Browse the repository at this point in the history
  7. modules/audio-libsoundio: Changed SoundBuffer structure a bit

    Less cache hits now, hopefully
    IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    6541a72 View commit details
    Browse the repository at this point in the history
  8. Do not build examples or tests for libsoundio

    We don't need them.
    IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    b92cd67 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6c95457 View commit details
    Browse the repository at this point in the history
  10. modules/system: Added M_PI

    In case it wasn't defined before
    IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    05dcdcb View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    21941e0 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    828067c View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    6e62a5a View commit details
    Browse the repository at this point in the history
  14. Get it to build on OS X.

    Blaž Hrastnik authored and IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    f8f7ff9 View commit details
    Browse the repository at this point in the history
  15. Get libsndfile to compile and link.

    Blaž Hrastnik authored and IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    bf37f9e View commit details
    Browse the repository at this point in the history
  16. Remove the sndfile submodule because cmake already fetches it.

    Blaž Hrastnik authored and IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    d51ec68 View commit details
    Browse the repository at this point in the history
  17. Add Source (untested)

    Blaž Hrastnik authored and IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    18dbfeb View commit details
    Browse the repository at this point in the history
  18. Update README

    Blaž Hrastnik authored and IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    820c6c7 View commit details
    Browse the repository at this point in the history
  19. modules/audio-libsoundio: Fixed source.cxx compilation

    Added missing headers and corrected function prototypes
    IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    70b15bd View commit details
    Browse the repository at this point in the history
  20. Set the sample rate to 44.1khz.

    Blaž Hrastnik authored and IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    e57857b View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    972afed View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    137044f View commit details
    Browse the repository at this point in the history
  23. Simple mixer extraction (get the code to goddamn compile)

    Blaž Hrastnik authored and IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    c2d0d94 View commit details
    Browse the repository at this point in the history
  24. Try getting audio streaming to work.

    Blaž Hrastnik authored and IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    779ac8b View commit details
    Browse the repository at this point in the history
  25. Do proper logic for sndfile buffer reads.

    Blaž Hrastnik authored and IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    1266564 View commit details
    Browse the repository at this point in the history
  26. Add missing file

    Blaž Hrastnik authored and IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    1092c99 View commit details
    Browse the repository at this point in the history
  27. use submodule fork for now

    Blaž Hrastnik authored and IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    5fe7ad8 View commit details
    Browse the repository at this point in the history
  28. Should be plureal

    Blaž Hrastnik authored and IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    6fea83e View commit details
    Browse the repository at this point in the history
  29. GET IT TO WORK!!

    Blaž Hrastnik authored and IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    80e9449 View commit details
    Browse the repository at this point in the history
  30. Don't disable external libs...

    Blaž Hrastnik authored and IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    35ff5fd View commit details
    Browse the repository at this point in the history
  31. Get mixing to work.

    Blaž Hrastnik authored and IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    80c7c6f View commit details
    Browse the repository at this point in the history
  32. Link ogg/vorbis/flac.

    Blaž Hrastnik authored and IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    1b00ab4 View commit details
    Browse the repository at this point in the history
  33. Extract the clipping code.

    Blaž Hrastnik authored and IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    78aae43 View commit details
    Browse the repository at this point in the history
  34. Clear the buffer in case we read less than what was expected.

    Also only loop over the number of frames we've read (instead of the
    empty parts).
    Blaž Hrastnik authored and IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    cf32445 View commit details
    Browse the repository at this point in the history
  35. Update README a tiny bit.

    Blaž Hrastnik authored and IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    4ddb5fd View commit details
    Browse the repository at this point in the history
  36. Oopsie, fix mixing.

    Blaž Hrastnik authored and IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    e40d991 View commit details
    Browse the repository at this point in the history
  37. Fix some things, implement Sound.

    Blaž Hrastnik authored and IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    9aeb88d View commit details
    Browse the repository at this point in the history
  38. Implement audio handles.

    Blaž Hrastnik authored and IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    3b0a843 View commit details
    Browse the repository at this point in the history
  39. meme-set is evil

    Blaž Hrastnik authored and IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    c886970 View commit details
    Browse the repository at this point in the history
  40. FLAC vs flac!

    Because different systems
    IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    d62cb85 View commit details
    Browse the repository at this point in the history
  41. modules/system,modules/audio-libsoundio: Added moon_memzerof and code…

    … gardening
    
    Originally I did a thing with music, buuuut, because of the rebase, all of it was pointless
    IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    2c98661 View commit details
    Browse the repository at this point in the history
  42. Fix Sound, sort of.

    It plays back really fast and weird
    Blaž Hrastnik authored and IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    a01ab3f View commit details
    Browse the repository at this point in the history
  43. hmm

    Blaž Hrastnik authored and IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    46ce621 View commit details
    Browse the repository at this point in the history
  44. Works at proper playback speed!

    Blaž Hrastnik authored and IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    87d48f7 View commit details
    Browse the repository at this point in the history
  45. Add support for pan/pitch/gain and map mono to stereo.

    This assumes we always want to play stereo (no 5.1 or 7.1)
    Blaž Hrastnik authored and IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    0204445 View commit details
    Browse the repository at this point in the history
  46. modules/audio-libsoundio: Cleaned up audio.cxx

    Removed hardcoded paths and bits of unused code
    IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    d9edf98 View commit details
    Browse the repository at this point in the history
  47. modules/audio-libsoundio: clamp was not available on my system for so…

    …me reason
    
    Use glm::clamp instead, that we have
    IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    0b77791 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    2f001af View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    46f000a View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    ed5cea0 View commit details
    Browse the repository at this point in the history
  51. travis: When running gcc, use gcc 4.8.

    Blaž Hrastnik authored and IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    1453bc2 View commit details
    Browse the repository at this point in the history
  52. Updated libsoundio

    Merged in some important upstream changes
    IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    e2d2b95 View commit details
    Browse the repository at this point in the history
  53. modules/system: Split helpers header into smaller bits

    There is a very good reason for this, I think...
    IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    f41df49 View commit details
    Browse the repository at this point in the history
  54. modules/{audio-libsound,system}: Butchered audio

    Eh em, butchered AUDIO.
    
    Went on a refactor spree and forgot to commit piece by piece.
    
    Attempted to setup Music looping and ran into an issue where the current position of the stream could not be obtained (I didn't look that hard either...)
    IceDragon200 committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    4053f5b View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    6976975 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2016

  1. Revert "modules/{audio-libsound,system}: Butchered audio"

    Well, that's what you get for forgetting to commit in between.
    
    This reverts commit 4053f5b.
    Blaž Hrastnik committed Jul 17, 2016
    Configuration menu
    Copy the full SHA
    0c3645f View commit details
    Browse the repository at this point in the history
  2. Add seek and tell to the Source interface.

    Blaž Hrastnik committed Jul 17, 2016
    Configuration menu
    Copy the full SHA
    475afe6 View commit details
    Browse the repository at this point in the history
  3. Add a Loop source.

    Blaž Hrastnik committed Jul 17, 2016
    Configuration menu
    Copy the full SHA
    592c876 View commit details
    Browse the repository at this point in the history
  4. Use a newer xcode7.3 and osx 10.11

    Blaž Hrastnik committed Jul 17, 2016
    Configuration menu
    Copy the full SHA
    30c5039 View commit details
    Browse the repository at this point in the history