justin = { main feed , music , code , askjf , pubkey };
Ask Justin Frankel
No reasonable question unanswered since 2009!

Suggested topics: programming, music, sleep, coffee, etc.

Note: please do not ask questions about REAPER features, bugs or scheduling, use the forums instead.


Name: Ask: Human (enter yes):
[back to index] | [unreplied] | [replied] | [recent comments] | [all]

Question: Since the source code of Winamp was posted to GitHub, I took a cursory dive into the part I've always been curious about (how the main vis is drawn) and was surprised to find a variable that holds the image data generated, and I wonder, was this easier to do than using what GDI provided? Optimization? For shits'n'giggles? If you remember, I would love to know what the intent was
Asked by Eris Lund (93.215.146.x) on September 28 2024, 9:08am
Reply on September 28 2024, 6:18pm:
    Give me a link to the code you're talking about (in the comment here) and I'll take a look heh


Comments:
  • Posted by Eris Lund (93.215.146.x) on September 28 2024, 8:07pm:
    github.com/WinampDesktop/winamp/bl...Both "gmem" and "specData" are curious to me as to why they exist

  • Posted by Justin on September 28 2024, 11:11pm:
    ah heh, that 8bpp rendering of the image does look like my code, but it's surrounded by stuff that's likely not (WADrawDC eg doesn't look familiar). But yeah in general for a lot of synthesized images you'd render to a DIB then BitBlt that. For skinned themes, you'd BitBlt() the images, but you wouldn't want to draw a spectrum analyzer with GDI primitives.

  • Posted by Justin on September 28 2024, 11:12pm:
    also worth noting, the comment at the top of the file (including C O N F I D E N T I A L etc) is all new to me lol

  • Posted by Eris Lund (91.51.235.x) on September 29 2024, 10:04pm:
    Oh! Huh, yeah that makes sense then, was wondering what those variables were about (which I can imagine is probably difficult to bring into a new environment), thanks for clarifying!

  • Posted by josh (72.228.153.x) on October 2 2024, 5:42pm:
    nm i saw the question was asked? Can you convince them to release gnutella under the gpl as planned?

  • Posted by Justin on October 7 2024, 2:28am:
    do they even have the gnutella code? anyway it's pointless other than for novelty...


Comment:
    Your Name:   -- Site Owner's Name:  (for human-verification)

    Comment:    

    
  
[back to index] | [unreplied] | [replied] | [recent comments] | [all]
Copyright 2024 Justin Frankel. | RSS