Recent

Author Topic: Redirect playback to unplugged output on Windows  (Read 12417 times)

Fred vS

  • Hero Member
  • *****
  • Posts: 3158
    • StrumPract is the musicians best friend
Re: Redirect playback to unplugged output on Windows
« Reply #15 on: February 05, 2017, 07:58:16 pm »
Quote
Hi Fre;D sorry for commenting here, you can take a look at Online Package Manager thread? Maybe your UOS library can be added to this excellent tool, only is needed that you add a package file .lpk to your sources. It doesn't mean that every user will need to use it, it's just another way to distribute your sources.
http://forum.lazarus.freepascal.org/index.php/topic,34297.msg236558.html#msg236558

Of course.
Huh, I did not know that Online Package Manager project.

Quote
only is needed that you add a package file .lpk to your sources

uos do not use .lpk... (what must be done to have one uos.lpk ?)

Fre;D
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

lainz

  • Hero Member
  • *****
  • Posts: 4449
    • https://lainz.github.io/
Re: Redirect playback to unplugged output on Windows
« Reply #16 on: February 05, 2017, 08:01:00 pm »
Hi, doesn't matter. An lpk is like adding to path but more easy, you know you can use a package even if is not registering any GUI component. You create with Lazarus a new .lpk file, then add all the uos .pas files and that's all. Then you update your repository and tell GetMem in the Online Package Manager thread to add your package and done.

Fred vS

  • Hero Member
  • *****
  • Posts: 3158
    • StrumPract is the musicians best friend
Re: Redirect playback to unplugged output on Windows
« Reply #17 on: February 05, 2017, 08:32:27 pm »
Hi, doesn't matter. An lpk is like adding to path but more easy, you know you can use a package even if is not registering any GUI component. You create with Lazarus a new .lpk file, then add all the uos .pas files and that's all. Then you update your repository and tell GetMem in the Online Package Manager thread to add your package and done.

Done commit: 5685e38..fed71d2.

Thanks.

Fre;D
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

MementoMojito

  • Jr. Member
  • **
  • Posts: 63
Re: Redirect playback to unplugged output on Windows
« Reply #18 on: February 05, 2017, 08:34:53 pm »
@lainz sorry for hijacking the hijacking of my thread :p

Ha, ok.

Quote
On Linux it's really trivial to do that with PulseAudio but Windows seems to be really limited in term of interfaces it offers for audio...

I was thinking that your own audio-engine was using PulseAudio but you use vlc.
I am sorry but I dont know how to deal with audio-port via command line in Windows.

Fre;D
I don't specially need to use the commandline, I do it on Linux because it's easy and works well, so no reasons to do otherwise.
Now for Windows it seems clear that it won't be possible that way, so I don't mind to use port-audio lib via uos or not but I just simply have no idea if what I want to do is possible : manage the output without handling the player.

balazsszekely

  • Guest
Re: Redirect playback to unplugged output on Windows
« Reply #19 on: February 05, 2017, 10:56:47 pm »
@MementoMojito
Sorry for hijacking your thread, Fred please read this: http://forum.lazarus.freepascal.org/index.php/topic,34297.msg236605.html#msg236605.
Thank you all!
« Last Edit: February 05, 2017, 11:00:29 pm by GetMem »

MementoMojito

  • Jr. Member
  • **
  • Posts: 63
Re: Redirect playback to unplugged output on Windows
« Reply #20 on: February 05, 2017, 11:06:36 pm »
No worries at all, as long as I get at least some leads to answer my question :)

Fred vS

  • Hero Member
  • *****
  • Posts: 3158
    • StrumPract is the musicians best friend
Re: Redirect playback to unplugged output on Windows
« Reply #21 on: February 06, 2017, 11:43:56 am »
No worries at all, as long as I get at least some leads to answer my question :)

Hello.

After Googling I found this Windows utilities:

- QuickSoundSwitch.
- vistaaudiochanger (works for win7 too)
- Virtual Audio Streaming

Fre;D
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

MementoMojito

  • Jr. Member
  • **
  • Posts: 63
Re: Redirect playback to unplugged output on Windows
« Reply #22 on: February 07, 2017, 09:40:20 am »
Thanks Fred, I have already came across these softwares but I think the only one that would work is Virtual Audio Streaming, but first it's not free (in both ways) and secondly I am really reluctant to install or make install closed source driver from an almost unknown editor.
I have had a look at JACKaudio as well but no luck on that side either. I suppose there is no easy solution on Windows for now as it looks like the only way would be to code drivers basically...
Thanks again for all your suggestions :)

 

TinyPortal © 2005-2018