Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Recent Posts
3
Development - (fb2k) / Re: Enumerating uielements
Last post by marc2k3 -
The design is as follows: a UIElement-derived panel, of which there can by more than 1 instance

So that is exactly the same as what you asked for before. I even adapted the code you posted to make it fit. :/

Iterating the instance list can be done from anywhere. I was unsure at the time but range based loops do work.

Code: [Select]
for (auto&& instance : Notify::instanceList())
{
instance->do_something();
}

Preference pages have an apply method so that's where you'd call it from.
5
Development - (fb2k) / Re: Enumerating uielements
Last post by pqyt -
Not a direct answer to your question, but do you have to make it so complex? It's your component, you can communicate with all instances through any means, for example global variables.
The design is as follows: a UIElement-derived panel, of which there can by more than 1 instance, and a Preferences page.

I was under the impression that, while the panel are separate instances, there is only 1 instance of the Preferences page.

Is this assumption right? And if so, how can a Preferences page be used to change the individual configuration of each panel instance?

I do not have this problem with foo_vis_spectrum_analyzer because each instance launches its own Configuration dialog.
6
Validated News / Re: FFmpeg 7.0 "Dijkstra" released 2024-04-05
Last post by wojak -
Could someone please explain what is wrong with new versions of ffmpeg? Should we use 6.1 or 7.0 or 7.0.1 or older versions? I heard that there were/are some personal issues but do those affect the product in any way?
9
Other Lossy Codecs / Re: Quite OK Audio (QOA)... anyone ?
Last post by Case -
Librempeg code. (I got couple of clicks when converting >2 hour OST 48kHz music to .QOA dunno is it bug because of my changes or because of original algorithm)
I encoded a test audio album with librempeg and had very nasty beeps and squeks in the first track at around time mark 2:45. I verified the same track with the reference qoaconv encoder and it didn't produce any glitching.
10
3rd Party Plugins - (fb2k) / Re: Columns UI
Last post by Tropoje -
Album list panel 2.0.2

After restarting the PC, the settings under General -> Views are lost

Before the reboot
X
X

After the restart
X
X

What is interesting is that after closing foobar (red cross X) and start the program again, everything is ok

Windows 11 Pro latest build
foobar2000 v2.1.5 x64
Foobar installed in Windows