A few months ago, WormMan on IRC hacked madplay to include a pre-buffer
stage...
The hack was simple & elegant.. Quite simply.. read one byte out of every
1024 and then discard it.. If the OS has spare disk cache, then it'll hold
the whole track in there... if you're low on memory, only a couple of megs
will be cached...
Also means that you can still play 70MB mp3s (i.e. whole CD ripped to one
track), without filling up /tmp
Jim / Tangent
-----Original Message-----
From: intimate-admin@handhelds.org
[mailto:intimate-admin@handhelds.org]On Behalf Of Andrew Bernat
Sent: 13 October 2001 19:29
To: Adam Lydick
Cc: salo@confused.zooid.org; Familiar@handhelds.org;
Intimate@handhelds.org
Subject: Re: [Familiar] Re: [Intimate] tweaking ide and hdparm settings
On Sat, 13 Oct 2001, Adam Lydick wrote:
> My idea for a quick hack was:
>
> for n in /mnt/udrive/mp3dir/*
> do cp $n /tmp/tmp.mp3
> mpg321 /tmp/tmp.mp3
> done
>
> (This breaks for mp3's with spaces in their names, and mp3s that would
> fill the ramdrive, a more sophisticated script could be written ;)
Spaces aren't bad, just add double quotes around the $n. The mp3s that
would overflow would just never get played, and the mpeg player would
gripe.
Drew
-- Drew Bernat Paradyn Project __ ____ bernat@cs.wisc.edu | | | abernat@zathras.net | | _______________________________________________ Intimate mailing list Intimate@handhelds.org http://handhelds.org/mailman/listinfo/intimateReceived on Sun Oct 14 06:02:27 2001
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:42:39 EDT