Skip to main content
Topic: Output Component Example? (Read 3485 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Output Component Example?

Hallo,

I am trying to create an output component for foobar2000, mainly to connect it directly to JackAudio.
Seems however that documentation and example source is completly lacking in that area of component creation.

Does anyone have the source code for any working ouput component for foobar2000?

Thanks

Output Component Example?

Reply #1
I believe that output components are one of the few things that are not exposed in the public SDK, as there's normally not much point in ever writing one not already existing.

Pulse/Jack are a bit unexpected things tho, and if you believe you can pull it through on an application level, you might want to ask Peter for access to the interfaces needed.
Zao shang yong zao nong zao rang zao ren zao.
To, early in the morning, use a chisel to build a bathtub makes impatient people hot-tempered.

Output Component Example?

Reply #2
Thanks for your reply.

I can't say that I can pull it through but I am willing to give it a serious shot.
JackAudio side seems well documented and shouldn't be a problem in implementing it. Overall should be relativly straight forward to make a plugin like that.
I also saw an OpenAL output component that connected to the DSP instead on the output. It does have the source code available.

How can I contact him?

Output Component Example?

Reply #3
Nevermind, I was wrong about the availability. It was added to the SDK yesteryear, I just looked at the wrong branch myself 
Looking at my own copy, SDK/output.h, there's a healthy lack of comments indeed.

If you're unfamiliar with the foobar2000 SDK, it might be educational to write another kind of toy component first, to see how the factories and services interact.
Zao shang yong zao nong zao rang zao ren zao.
To, early in the morning, use a chisel to build a bathtub makes impatient people hot-tempered.

 

Output Component Example?

Reply #4
Yeah saw that as well....
Seems kinda hard to see what it does without an example.....

Yeah currently made a mini component and I am currently playing with stuff like preferences pages and how to save them... .

 
SimplePortal 1.0.0 RC1 © 2008-2019