Something went wrong. Try again.
A modern, network-enabled music player platform built on Rockbox technology. rockboxd.tsiry-sandratraina.com
rust deno navidrome airplay libadwaita zig mpris snapcast mpd rockbox audio subsonic
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637--[[ Lua RB Audio Operations/*************************************************************************** * __________ __ ___. * Open \______ \ ____ ____ | | _\_ |__ _______ ___ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ * \/ \/ \/ \/ \/ * * Copyright (C) 2017 William Wilgus * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY * KIND, either express or implied. * ****************************************************************************/]]
-- [[ conversion to old style audio_ functions ]]if not rb.audio then rb.splash(rb.HZ, "No Support!") return nil end
rb.audio_status = function() return rb.audio("status") endrb.audio_play = function (elapsed, offset) rb.audio("play", elapsed, offset) endrb.audio_stop = function() rb.audio("stop") endrb.audio_pause = function() rb.audio("pause") endrb.audio_resume = function() rb.audio("resume") endrb.audio_next = function() rb.audio("next") endrb.audio_prev = function() rb.audio("prev") endrb.audio_pre_ff_rewind = function () rb.audio("pre_ff_rewind") endrb.audio_ff_rewind = function (newtime) rb.audio("ff_rewind", newtime) endrb.audio_flush_and_reload_tracks = function() rb.audio("flush_and_reload_tracks") endrb.audio_get_file_pos = function() return rb.audio("get_file_pos") end