- POCKETMOD_MEM2
void POCKETMOD_MEM2(ubyte dst, ubyte src)
Undocumented in source. Be warned that the author may not have intended to support it.
- POCKETMOD_MEM_ubyte
void POCKETMOD_MEM_ubyte(ubyte dst, ubyte src)
Undocumented in source. Be warned that the author may not have intended to support it.
- POCKETMOD_MEM_ushort
void POCKETMOD_MEM_ushort(ushort dst, ushort src)
Undocumented in source. Be warned that the author may not have intended to support it.
- POCKETMOD_SAMPLE
ubyte* POCKETMOD_SAMPLE(pocketmod_context* c, int sample)
Undocumented in source. Be warned that the author may not have intended to support it.
- _pocketmod_clamp_volume
int _pocketmod_clamp_volume(int x)
Undocumented in source. Be warned that the author may not have intended to support it.
- _pocketmod_ident
int _pocketmod_ident(pocketmod_context* c, ubyte* data, int size)
Undocumented in source. Be warned that the author may not have intended to support it.
- _pocketmod_lfo
int _pocketmod_lfo(pocketmod_context* c, _pocketmod_chan* ch, int step)
Undocumented in source. Be warned that the author may not have intended to support it.
- _pocketmod_max
int _pocketmod_max(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
- _pocketmod_min
int _pocketmod_min(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
- _pocketmod_next_line
void _pocketmod_next_line(pocketmod_context* c)
Undocumented in source. Be warned that the author may not have intended to support it.
- _pocketmod_next_tick
void _pocketmod_next_tick(pocketmod_context* c)
Undocumented in source. Be warned that the author may not have intended to support it.
- _pocketmod_period_to_note
int _pocketmod_period_to_note(int period)
Undocumented in source. Be warned that the author may not have intended to support it.
- _pocketmod_pitch_slide
void _pocketmod_pitch_slide(_pocketmod_chan* ch, int amount)
Undocumented in source. Be warned that the author may not have intended to support it.
- _pocketmod_render_channel
void _pocketmod_render_channel(pocketmod_context* c, _pocketmod_chan* chan, float* output, int samples_to_write)
Undocumented in source. Be warned that the author may not have intended to support it.
- _pocketmod_sin
int _pocketmod_sin(int step)
Undocumented in source. Be warned that the author may not have intended to support it.
- _pocketmod_update_pitch
void _pocketmod_update_pitch(pocketmod_context* c, _pocketmod_chan* ch)
Undocumented in source. Be warned that the author may not have intended to support it.
- _pocketmod_update_volume
void _pocketmod_update_volume(pocketmod_context* c, _pocketmod_chan* ch)
Undocumented in source. Be warned that the author may not have intended to support it.
- _pocketmod_volume_slide
void _pocketmod_volume_slide(_pocketmod_chan* ch, int param)
Undocumented in source. Be warned that the author may not have intended to support it.
- _pocketmod_zero
void _pocketmod_zero(void* data, size_t size)
Undocumented in source. Be warned that the author may not have intended to support it.
- pocketmod_count_remaining_samples
int pocketmod_count_remaining_samples(pocketmod_context* c)
Returns the amount of remaining (mono) samples/frames in the
currently playing pattern.
- pocketmod_init
int pocketmod_init(pocketmod_context* c, void* data, int size, int rate)
Undocumented in source. Be warned that the author may not have intended to support it.
- pocketmod_loop_count
int pocketmod_loop_count(pocketmod_context* c)
Undocumented in source. Be warned that the author may not have intended to support it.
- pocketmod_render
int pocketmod_render(pocketmod_context* c, void* buffer, int buffer_size)
Undocumented in source. Be warned that the author may not have intended to support it.
- pocketmod_seek
bool pocketmod_seek(pocketmod_context* c, int pattern, int row, int tick)
Undocumented in source. Be warned that the author may not have intended to support it.
MIT License
Copyright (c) 2018 rombankzero
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.