The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Latest State of play on 320kbps files


  • Subject: Latest State of play on 320kbps files
  • From: "Tony Tofts" <tony@xxxxxxxxxx>
  • Date: Tue, 24 Aug 2004 13:08:50 +0100


Hi all,

Have modified the client so that the playing of the audio is in a different
thread, and have found this doesn't help.

I've set up 200 x 4608byte buffers.

The client waits for it to reach 180 buffers full before playing.

I watch the numbers shoot up, but as soon as they hit 180 (the point i have
it set to start the audio) they drop back to 1 buffer full even quicker...

Basically the libmad library can't process the stream quick enough to keep
the buffer filled :-(

The only saving grace at the moment is that there is a lot of processing
that still has to be done on the stream before it goes into the output
buffer, so i'm going to try and move all this processing to the output
thread to give libmad the maximum amount of time.

Regards
Tony


[Non-text portions of this message have been removed]




xPL Main Index | xPL Thread Index | xPL Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.