Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: code example from Audio::OSS doc fails?

by atanug (Initiate)
on Dec 16, 2010 at 12:09 UTC ( #877478=note: print w/replies, xml ) Need Help??


in reply to code example from Audio::OSS doc fails?

Try this one. This should work.

use IO::Handle; $io = new IO::Handle; open FILE, "</dev/dsp"; if ($io->fdopen(fileno(FILE),"r")) { print $io->getline; $io->close; } else { print "Error\n"; } close FILE;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://877478]
help
Chatterbox?
and the monastery is silent...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2017-06-23 05:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (535 votes). Check out past polls.