Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: streaming audio

by kragen (Sexton)
on Jun 05, 2004 at 03:04 UTC ( [id://361331]=note: print w/replies, xml ) Need Help??


in reply to streaming audio

By "buffered", I think you mean that you want to ensure that (a) the audio driver's buffer of data never gets empty and (b) the audio stream over the network stays well ahead of the data being played through the speaker. You can go a long way toward (b) by waiting until you have several seconds' worth of data available before you start writing data to the audio driver. (a) may or may not be harder; I don't know enough about audio drivers.

On a related topic, you may benefit from boosting the scheduling priority of your program.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://361331]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-03-28 14:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found