class

Sonicri::Audio

Inherits Libmpg123 / Libao / Reference / Object

Constants

BUF_SIZE = 4 * 1024
BYTE_FORMAT = LibAO::Byte_Format::AO_FMT_BIG
INFO_POS_COL = 0
INFO_POS_ROW = 0
LOCAL_MP3 = "local.mp3"

Constructors

Instance methods

calc_offset(distance)
Source
current_sample_offset
Source
jump_back(distance = :small)
Source
jump_forward(distance = :small)
Source
jump_relative(offset)
Source
jump_to(offset)
Source
make_cache_name(cache_name)
Source
move_to_file_cache(filename = LOCAL_MP3, from_start = false)
Source
pause
Source
play_music(file)
Source
play_radio(url)
Source
progress
Source
progress=(progress : Display::Progress)
Source
quit
Source
record
Source
reinitialize
Source
run(name, addr)
Source
running?
Source
stop
Source
win=(win : NCurses::Window | Nil)
Source