Anthony
Anthony
this request has be superseded by https://github.com/mbasso/awesome-wasm/pull/226
> I'm not fully sure how it could be made generic. Or a "state snapshot". I wouldn't stress over this. If we keep it in the back of our head,...
Nice! I didn't put a lot effort coming up with this API -- so feel free to adjust as needed. > GetAudioMetaData If there are no useful meta data to...
Some small comments: `twr_audio_play_file_full` I believe a more common name for this situation is `twr_audio_play_file_ex` (extended) `twr_convert_32_bit_pcm` I was assuming you would allow integer PCM to be played back directly...
Please also add the audio unit tests to the Unit Test section of examples doc: /examples/examples-overview/ Also make a note that pong demos audio (when it does)
> the main disadvantage of twr_convert_32_bit_pcm function is that it's going to double allocate Doesn't it also do an extra copy?
bug: i tried the 2 player pong (AI mode), and i sometimes hear the beeps, but mostly i don't. Win 11, Chrome.
Should these functions be passed a playback_id, not a node_id? The docs say: When playing audio, a `playback_id` is returned to query or modify the playback. ~~~ void twr_audio_modify_playback_volume(long node_id,...
regarding pong. More testing reveals that the issue happens on bundled and unbundled, async and regular. The issue is that a beep is heard when the ball goes out of...
> I don't know if it would be better to just include an enum specifying a type, or to create aliases like audio_from_8bit_pcm, audio_from_float_pcm, audio_from_16bit_pcm Your concern about type checking...