The Following 10 Users Say Thank You to jonwil For This Useful Post: | ||
![]() |
2014-10-23
, 08:33
|
Posts: 75 |
Thanked: 269 times |
Joined on Aug 2012
|
#2
|
if self.source == "Phone": self.launcher = "adder name=theAdder ! %s ! filesink location=\"%s\" . pulsesrc device=sink.hw0.monitor ! queue name=q1 ! theAdder. pulsesrc device=source.hw0 ! audioamplify amplification=30.0 ! queue name=q2 ! theAdder." % (enc,self.fileName) elif self.source == "Bluetooth": self.launcher = "adder name=theAdder ! %s ! filesink location=\"%s\" . pulsesrc device=sink.hw1.monitor ! audioamplify amplification=10.0 ! queue name=q1 ! theAdder. pulsesrc device=source.hw1 ! audioamplify amplification=5.0 ! queue name=q2 ! theAdder." % (enc,self.fileName) elif self.source == "Dictaphone": self.launcher = "pulsesrc device=source.hw0 ! audioconvert ! audioamplify amplification=30.0 ! queue ! %s ! filesink location=\"%s\"" % (enc,self.fileName) elif self.source == "System": self.launcher = "pulsesrc device=sink.hw0.monitor ! audioconvert ! queue ! %s ! filesink location=\"%s\"" % (enc,self.fileName)
if (strcmp(source, "phone") == 0) { gst_parse_launch ("adder name=theAdder ! %s ! filesink location=\"%s\" . pulsesrc device=sink.hw0.monitor ! queue name=q1 ! theAdder. pulsesrc device=source.hw0 ! audioamplify amplification=30.0 ! queue name=q2 ! theAdder.",enc,fileName); }
![]() |
2014-10-23
, 22:37
|
Posts: 567 |
Thanked: 2,966 times |
Joined on Oct 2009
|
#3
|
The Following 5 Users Say Thank You to jonwil For This Useful Post: | ||
More specifically I am working on building a map of all the sinks and sources in Maemo Fremantle connected with the voice side of things and the module-nokia-voice module so I can map where audio going into that module comes from and where audio comming out of that module goes to.
Anyone who can help, please let me know (here or in IRC, I am in IRC a lot these days)