[SOLVED]stream audio through line in from tv

Posted:
Jul 10th, '15, 15:47
by nwtmg
Hi,
Trying to stream audio from tv through line in. Tried to use audacity. It only records but will not play in real time. Also tried vlc with no luck. Googled and found some alleged solutions but none of them work. Any ideas?
Re: stream audio through line in from tv

Posted:
Jul 10th, '15, 20:48
by doktor5000
Re: stream audio through line in from tv

Posted:
Jul 10th, '15, 21:28
by nwtmg
Missed all of these. Wrong search. Worked first time. Will mark as solved. Is there anyway to load the module on auto-sense. Thanks.
Re: stream audio through line in from tv

Posted:
Jul 10th, '15, 22:20
by doktor5000
nwtmg wrote:Is there anyway to load the module on auto-sense. Thanks.
By auto-sense do you mean by jack sensing e.g. when a jack is plugged into the line-in port to automatically load the module-loopback module?
Re: stream audio through line in from tv

Posted:
Jul 11th, '15, 21:31
by nwtmg
Yes that is what I mean. Thanks for the response.
Re: [SOLVED]stream audio through line in from tv

Posted:
Jul 12th, '15, 14:35
by doktor5000
That's what I assumed

Problem is there's not much documentation available on using the jack sense / jack detection events.
You need to whip up something on your own for that. Here are some pointers:
http://askubuntu.com/questions/402275/a ... speaker-orhttp://askubuntu.com/questions/23508/ho ... headphoneshttps://blueprints.launchpad.net/ubuntu ... -detectionBest open up the script
https://github.com/nullEuro/apply-equalizer and check how it watches for events.
A similar script to what you want can also be found at
https://gist.github.com/Toasty27/8406352