[vorbis-dev] Winamp plugin annoyance

Matthijs creepingdeathnl at metallica.com
Sat Feb 3 10:10:57 PST 2001



Hello,

When the Winamp plugin is playing an Ogg Vorbis file, if you 
try to scroll the playlist so that the title of the Ogg file scrolls out 
of view, it jumps back again, which is very annoying.

The fix:

In function DecodeThread, replace

if(lostsync || (decode_pos_ms - lastupdate > 500))
{
 ...
  mod.SetInfo(bitrate / 1000, samplerate / 1000, num_channels, 1);

by

if(lostsync || (decode_pos_ms - lastupdate > 500))
{
 ...
 mod.SetInfo(bitrate / 1000, -1, -1, -1);

(-1 indicating "no change")

Another annoyance, if an Ogg file does not have a title, it is displayed 
in the playlist as (example)

 c:\OggVorbis\Pennywise\Pennywise - Peaceful Day.ogg (no title)

I think it would be less annoying to let it display

 Pennywise - Peaceful Day

As most music files have their title as filenames, and the oggenc binary 
sets no title by default.

Matthijs

______________________________________________________________________
Get your Private, Free E-mail from Metallica at http://mail.metallica.com powered by XingMail.  Check out Metallica's Official Web Site at http://www.metallica.com

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list