playdate icon indicating copy to clipboard operation
playdate copied to clipboard

Playdate Build Tools and API

Results 86 playdate issues
Sort by recently updated
recently updated
newest added

Rustify this function, maybe impl like it done for sprites. https://api.github.com/boozook/playdate/blob/e4c7b9442cf7637a812c52fbeee32d49cbaacba7/api/sound/src/player/sp/mod.rs#L200 My idea is to store user\-callback into self, and here use proxy "extern C" function\. Maybe move self into...

api
todo
sound

rustify this functions https://api.github.com/boozook/playdate/blob/e4c7b9442cf7637a812c52fbeee32d49cbaacba7/api/sound/src/player/fp/mod.rs#L225 / / This is an alias for \[\`sys::ffi::playdate\_sound\_source::setFinishCallback\`\]\. / / See also \[\`setFinishCallback\`\]\(playdate\_sys::ffi::playdate\_sound\_fileplayer::setFinishCallback\)\. Source of this issue ```rust } } /// Sets the buffer length of...

api
todo
sound

Sound api: channel, synth, sequence, effect, lfo, envelope, callbacks, etc.. https://api.github.com/boozook/playdate/blob/e4c7b9442cf7637a812c52fbeee32d49cbaacba7/api/sound/src/lib.rs#L19 Source of this issue ```rust #![feature(error_in_core)] #![feature(const_trait_impl)] use core::ffi::c_int; use core::ffi::c_void; use sys::ffi::AudioSourceFunction; use sys::traits::AsRaw; extern crate sys; extern...

api
todo
sound

use userdata https://github.com/boozook/playdate/blob/a8785842ba04674c8eba6a52391cb041ccdcfd59/api/sound/src/source.rs#L60 Source of this issue ```rust #[doc(alias = "sys::ffi::playdate_sound_source::setFinishCallback")] pub fn set_finish_callback_raw(&self, callback: sndCallbackProc) { let f = self.1.set_finish_callback(); // TODO: use userdata unsafe { f(self.0, callback, core::ptr::null_mut())...

api
todo
sound

use userdata https://github.com/boozook/playdate/blob/a8785842ba04674c8eba6a52391cb041ccdcfd59/api/sound/src/player/sp/mod.rs#L209 Source of this issue ```rust // But with cost of memory - one static for each `F`*`Self`, so so much. pub fn set_finish_callback_raw(&self, callback: sndCallbackProc) -> Result...

api
todo
sound

use userdata https://github.com/boozook/playdate/blob/a8785842ba04674c8eba6a52391cb041ccdcfd59/api/sound/src/player/sp/mod.rs#L209 Source of this issue ```rust // But with cost of memory - one static for each `F`*`Self`, so so much. pub fn set_finish_callback_raw(&self, callback: sndCallbackProc) -> Result...

api
todo
sound

use userdata https://github.com/boozook/playdate/blob/a8785842ba04674c8eba6a52391cb041ccdcfd59/api/sound/src/player/fp/mod.rs#L255 Source of this issue ```rust // Probably here we can use just FnOnce, because it will dropped after call by proxy. pub fn fade_volume(&self, left: c_float, right:...

api
todo
sound

use userdata https://github.com/boozook/playdate/blob/a8785842ba04674c8eba6a52391cb041ccdcfd59/api/sound/src/player/fp/mod.rs#L235 Source of this issue ```rust #[doc(alias = "sys::ffi::playdate_sound_fileplayer::setFinishCallback")] pub fn set_finish_callback(&self, callback: sndCallbackProc) { let f = self.api().set_finish_callback(); // TODO: use userdata unsafe { f(self.0, callback, core::ptr::null_mut())...

api
todo
sound

use userdata https://github.com/boozook/playdate/blob/a8785842ba04674c8eba6a52391cb041ccdcfd59/api/sound/src/player/fp/mod.rs#L235 Source of this issue ```rust #[doc(alias = "sys::ffi::playdate_sound_fileplayer::setFinishCallback")] pub fn set_finish_callback(&self, callback: sndCallbackProc) { let f = self.api().set_finish_callback(); // TODO: use userdata unsafe { f(self.0, callback, core::ptr::null_mut())...

api
todo
sound

cargo
schema
build-utils
manifest