Subject: Differences between XMMS and Audacious plugins

From: kyz
Date: Thu May 18 10:29:27 2006

To: UADE-Developer-discussion
There are only 16 lines of real difference between the XMMS and Audacious plugins in uade 2.02. How many of those code changes could be applied to the XMMS plugin (presuming the xmms plugin is older)? Would it be possible to merge the code of both plugins together, to make code that compiles to either method, with only one copy of the code. There doesn't seem to be a build problem with this, because things from src/frontends/common get compiled in the other subdirectories.

---

From: shd
Date: Sat May 20 10:59:00 2006

To: UADE-Developer-discussion
[quote:3b5488c8de="kyz"]There are only 16 lines of real difference between the XMMS and Audacious plugins in uade 2.02.[/quote:3b5488c8de]

Please use CVS versions only.

[quote:3b5488c8de]How many of those code changes could be applied to the XMMS plugin (presuming the xmms plugin is older)?[/quote:3b5488c8de]

None, I hope.

[quote:3b5488c8de]Would it be possible to merge the code of both plugins together, to make code that compiles to either method, with only one copy of the code. There doesn't seem to be a build problem with this, because things from src/frontends/common get compiled in the other subdirectories.[/quote:3b5488c8de]

There is some frontend-independent code left in frontends that can be put to common/ dir, but after that has been done, there's still refactoring to be done in the plugins. Putting the common functionality between XMMS and Audacious to some common module is a goal, but it hasn't been done.