Audio::Ao 0.01 review
Download
|
|
Audio::Ao is a Perl wrapper for the Ao audio library.
SYNOPSIS
use Audio::Ao qw(:all);
initialize_ao;
my $device = open_live(default_driver_id(), 16, $rate, $channels,
is_big_endian(), {});
while (#have data) {
play($device, $data_buffer, $len_of_buffer);
}
close_ao($device($device));
shutdown_ao;
Provides access to Libao, "a cross-platform library that allows programs to output PCM audio data to the native audio devices on a wide variety of platforms." Libao currently supports OSS, ESD, ALSA, Sun audio, and aRts.
Requirements:
Perl
Audio::Ao 0.01 keywords