GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  AUDIO::PLAY (3)

.ds Aq ’

NAME

Audio::Play - interface for Audio::Data to hardware

CONTENTS

SYNOPSIS



  use Audio::Data;
  use Audio::Play;
 
  $audio = Audio::Data->new(...)
 
  $svr = Audio::Play->new;
 
  $svr->play($audio);



DESCRIPTION

<B>Audio::PlayB> is an wrapper class which loads <B>Audio::Play::$^OB> i.e. a per-platform driver.

Each class provides the following interface:
$svr = $class->new([$wait]) Create the server and return an object. $wait is supposed to determine whether to wait for device (and for how long) but is currently not really working for many devices.
$svr->rate($rate) Set sample rate (if possible) to $rate.
$rate = $svr->rate; Return sample rate.
$svr->play($audio[,$gain]) Play $audio via the hardware. Should take steps to match hardware and data’s sampling rate.
$svr->gain($mult) Set gain (if possible).
$svr->flush Wait for playing to complete.
$svr->DESTROY Destructor flushes and closes hardware.

AUTHOR

Nick Ing-Simmons <Nick@Ing-Simmons.net>, but sub-modules have been collected from wide variety of places.

POD ERRORS

Hey! <B>The above document had some coding errors, which are explained below:B>
Around line 116: =back doesn’t take any parameters, but you said =back 4
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 PLAY (3) 2003-08-05

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.