class Sonicri::Audio
- Sonicri::Audio
- Reference
- Object
Included Modules
- Libao
- Libmpg123
Defined in:
sonicri/audio.crConstant Summary
-
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 Method Summary
- #calc_offset(distance)
- #current_sample_offset
- #jump_back(distance = :small)
- #jump_forward(distance = :small)
- #jump_relative(offset)
- #jump_to(offset)
- #make_cache_name(cache_name)
- #move_to_file_cache(filename = LOCAL_MP3, from_start = false)
- #pause
- #play_music(file)
- #play_radio(url)
- #progress : Display::Progress
- #progress=(progress : Display::Progress)
- #quit
- #record
- #reinitialize
- #run(name, addr)
- #running? : Bool
- #stop
- #win=(win : NCurses::Window | Nil)