tanz0rz / haxe-fmod Goto Github PK
View Code? Open in Web Editor NEWHaxe 4 FMOD integration for Windows and HTML5 deployments
Home Page: https://tanneris.me/haxelib
License: MIT License
Haxe 4 FMOD integration for Windows and HTML5 deployments
Home Page: https://tanneris.me/haxelib
License: MIT License
Reproduction:
Behavior:
Game fails to start
So, you might be wondering that fmod is only supported on hxcpp. Well, I'm curious to see if you would add hl support to this haxelib.
Reproduction:
PlaySoundWithReference
callBehavior:
Readd Linux support from the original Faxe library.
Currently, the Flixel volume controls see here are completely ignored by this library.
Add a volume handler function you can use with FlxG.sound.volumeHandler
to set the volume on all sounds.
Combining macros with importing this library in an imports.hx
file will result in a failed build due to nested macros running. This should be explained in the readme when explaining global imports
Reproduction:
In a HaxeFlixel project, call TransitionToStateAndStopMusic()
when no song is playing
Behavior:
Nothing happens
Seems to be crashing when trying to export via HashLink in the HaxeFlixel library, the weird part is that it's only during the ReplaceVistaIcon.exe segment which... is very confusing. However, it only happens when this library is used.
- Copying file: export/hl/obj/ApplicationMain.hl -> export/hl/bin/hlboot.dat
- Renaming file: export/hl/bin/hl.exe -> export/hl/bin/fmod-test.exe
- Running command: C:/HaxeToolkit/haxe/lib/lime/7,8,0/templates/bin/ReplaceVistaIcon.exe export/hl/bin/fmod-test.exe export/hl/bin/icon.ico 1
Running command: INSTALL
Running command: RUN
- Changing directory: export/hl/bin/
- Running command: fmod-test.exe -verbose -livereload
Very unusual, happens on the example project as well :(
Does this library do anything regarding icons in any way?
Reproduction:
Behavior:
Additional notes:
when i try to compile, it throws a lot of c++ errors
As a developer, I want to be able to access a user's microphone and retrieve sound data, which I can either:
See the api/core/examples/record.cpp
for an example of this, but in CPP rather than Haxe.
I have a use case where I am being provided with a stream of PCM audio bytes (from video decoding) and I want to play the sound over the user's speakers. OpenFL doesn't provide a means to implement this (I checked, this class is not implemented on most platforms, just Flash). Thankfully, FMod does, but haxe-fmod has not implemented a user-facing interface for it.
Implement the ability to create a sound which, rather than loading from a sound file, continuously executes a callback to retrieve the sound data to be output.
The sound should be created with the FMOD_OPENUSER
, and be initialized with an FMOD_CREATESOUNDEXINFO to specify format, defaultfrequency, numchannels, and a read callback. The read callback would probably need to be a wrapper callback, which would call a Haxe function (not a CPP function) provided by the user, which would return an openfl.utils.ByteArray
. The wrapper callback would then provide the pointer and length to the sound for playback.
See the api/core/examples/user_created_sound.cpp
for an example of this, but in CPP rather than Haxe.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.