Merge lp:~phablet-team/telephony-service/change-pulsesrc-to-alsasrc into lp:telephony-service/staging

Proposed by Tiago Salem Herrmann
Status: Merged
Approved by: Bill Filler
Approved revision: 1254
Merged at revision: 1254
Proposed branch: lp:~phablet-team/telephony-service/change-pulsesrc-to-alsasrc
Merge into: lp:telephony-service/staging
Diff against target: 12 lines (+1/-1)
1 file modified
handler/farstreamchannel.cpp (+1/-1)
To merge this branch: bzr merge lp:~phablet-team/telephony-service/change-pulsesrc-to-alsasrc
Reviewer Review Type Date Requested Status
Ubuntu Phablet Team Pending
Review via email: mp+321617@code.launchpad.net

Commit message

Use alsasrc as a workaround to be able to record from the microphone.
pulsesrc does not work on some environments.

Description of the change

Use alsasrc as a workaround to be able to record from the microphone.
pulsesrc does not work on some environments.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'handler/farstreamchannel.cpp'
2--- handler/farstreamchannel.cpp 2017-03-22 18:07:43 +0000
3+++ handler/farstreamchannel.cpp 2017-03-31 20:10:40 +0000
4@@ -115,7 +115,7 @@
5 GstElement *FarstreamChannel::initializeAudioSource(TfContent *content)
6 {
7 qDebug() << __PRETTY_FUNCTION__;
8- GstElement *element = gst_parse_bin_from_description ("pulsesrc ! audio/x-raw, rate=8000 ! queue"
9+ GstElement *element = gst_parse_bin_from_description ("alsasrc ! audio/x-raw, rate=8000 ! queue"
10 " ! audioconvert ! audioresample"
11 " ! volume name=input_volume ! audioconvert ",
12 TRUE, NULL);

Subscribers

People subscribed via source and target branches

to all changes: