Realtime/Seamless Audio Switching

*nix specific usage questions
mrblue1234
Blank Cone
Blank Cone
Posts: 21
Joined: 12 May 2017 19:53

Realtime/Seamless Audio Switching

Postby mrblue1234 » 12 Jul 2017 02:46

All,

I hope you are having a great day.

I am using VLC 2.2.5.1 on a Debian based system.

1.) When I am playing a video I want to switch the audio destination realtime without stopping the video. When I use the hot-key "shift+a" I can cycle threw the different audio devices while the video continues to play. This is getting me closer to my goal.

2.) One problem I found is that after a few of these commands, cycling threw several of the available audio interfaces, the player becomes unresponsive to my keyboard commands. This is repeatable for me and seems to be a bug. I was expecting the "shift-a" to be able to cycle threw all the devices forever and to just loop.

3.) Is there a way to switch to the exact audio interface while the video is playing without having to cycle threw all the available devices?

Thank you so much!

-Mike

Rémi Denis-Courmont
Developer
Developer
Posts: 15228
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Realtime/Seamless Audio Switching

Postby Rémi Denis-Courmont » 12 Jul 2017 17:12

1) It depends on audio output plugin, but completely transparent hand-over is fundamentally impossible by hardware design.
2) For crashes and lock-ups, we need symbolic threaded stack traces.
3) Yes, at the API level or via the GUI menus.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

mrblue1234
Blank Cone
Blank Cone
Posts: 21
Joined: 12 May 2017 19:53

Re: Realtime/Seamless Audio Switching

Postby mrblue1234 » 12 Jul 2017 18:16

Thanks for the reply Remi.

1.) Do you mind clarifying what you mean that "completely transparent hand-over is fundamentally impossible by hardware design". I don't understand this. When I use "shift-a" it seems to switch over just fine. What limitations are you thinking of? Also is there a way to hide the overlaid text (showing what device was switched to) when switching to a new device?

2.) Is there a write up on how to provide the symbolic threaded stack traces?

3.) I can do this clicking around with my mouse on the GUI but the API level sounds perfect. Could you point me in the right direction on how to do this? What language? Is there a library to use? What API functions would be one to use?

Thank you so much! Have a great day.

-Mike

mrblue1234
Blank Cone
Blank Cone
Posts: 21
Joined: 12 May 2017 19:53

Re: Realtime/Seamless Audio Switching

Postby mrblue1234 » 14 Jul 2017 00:20

The API route has worked successfully. Thank you.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 16 guests