NAME

Video::Xine::Driver::Audio - Audio port for Xine

SYNOPSIS

use Video::Xine::Driver::Audio;

my $ao = Video::Xine::Driver::Audio->new($xine, 'auto')
  or die "Couldn't load audio driver!";

DESCRIPTION

Audio port for Xine.

new()

new($xine, $id, $data)

Creates a new audio driver for opening streams. $id and $data are optional. Returns undef on failure. If $id is undefined, returns Xine's idea of the default audio driver.

Example:

# Creates an audio driver that doesn't make any noise
my $audio_driver = Video::Xine::Driver::Audio->new($xine, 'none')
   or die "Couldn't load audio driver!";