Audio-aKodePlayer
view release on metacpan or search on metacpan
lib/Audio/aKodePlayer.pm view on Meta::CPAN
__END__
=head1 DESCRIPTION
This module provides a simple interface to the aKode::Player class
from the C++ aKode library. aKode is a simple audio-decoding
frame-work that provides a uniform interface to decode the most common
audio-formats such as WAV, MP3, Ogg/Vorbis, Ogg/FLAC, etc. It also
has a direct playback option for a number of audio-outputs, such as
OSS, Alsa, SunOS/Solaris audio, Jack, and Polyp (recommended for
network transparent audio).
=head1 SYNOPSIS
use Audio::aKodePlayer;
my $player = Audio::aKodePlayer->new();
$player->open('auto'); # automatically selected output sink
$player->load( 'my_audio.ogg' ); # any format supported by aKode
$player->play();
$player->seek(10*1000) if $player->seekable; # seek 10 seconds from the beginning
( run in 0.582 second using v1.01-cache-2.11-cpan-a1d94b6210f )