summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Raghavan <git@arunraghavan.net>2016-02-17 19:46:59 +0530
committerArun Raghavan <git@arunraghavan.net>2016-02-25 09:09:12 +0530
commit6431636fe10cfda2eaa5104a8b67c68f3e01f254 (patch)
tree9dd9da7fb84b6a641e661881965c88b1727539d1
parent0c86543c5105c1e1d690af121ac60d2743e58055 (diff)
echo-cancel: Mark private function as static
-rw-r--r--src/modules/echo-cancel/webrtc.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/echo-cancel/webrtc.cc b/src/modules/echo-cancel/webrtc.cc
index 0d357fb39..cc8cc3488 100644
--- a/src/modules/echo-cancel/webrtc.cc
+++ b/src/modules/echo-cancel/webrtc.cc
@@ -78,9 +78,9 @@ static int routing_mode_from_string(const char *rmode) {
return -1;
}
-void pa_webrtc_ec_fixate_spec(pa_sample_spec *rec_ss, pa_channel_map *rec_map,
- pa_sample_spec *play_ss, pa_channel_map *play_map,
- pa_sample_spec *out_ss, pa_channel_map *out_map)
+static void pa_webrtc_ec_fixate_spec(pa_sample_spec *rec_ss, pa_channel_map *rec_map,
+ pa_sample_spec *play_ss, pa_channel_map *play_map,
+ pa_sample_spec *out_ss, pa_channel_map *out_map)
{
rec_ss->format = PA_SAMPLE_S16NE;
play_ss->format = PA_SAMPLE_S16NE;