lcksk / gst123

Automatically exported from code.google.com/p/gst123
0 stars 0 forks source link

Can't play in the background? #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I'd like to use gst123 to play sound from an app, however when I use gst1234 
<sound> &, no sound comes out. I didn't see an option for this either - is this 
possible to do?

Original issue reported on code.google.com by vpereto...@gmail.com on 31 Oct 2011 at 3:57

GoogleCodeExporter commented 8 years ago
Well, I tried it myself, and the problem seems to be that gst123 does a few 
things to be able to react to key press events (mostly in terminal.cc, from a 
code point of view). This is what is causing problems when running in 
background. So ideally gst123 would check if it is connected to a terminal and 
not do the terminal specific steps if there is no terminal. Maybe also not 
print anything in that case.

Original comment by Stefan.W...@gmail.com on 2 Nov 2011 at 11:42