[pulseaudio-discuss] [PATCH v3 08/24] echo-cancel: Mark private function as static

Tanu Kaskinen tanuk at iki.fi
Fri Jan 29 02:25:07 PST 2016


On Mon, 2016-01-18 at 13:06 +0530, arun at accosted.net wrote:
> From: Arun Raghavan <git at arunraghavan.net>
> 
> ---
>  src/modules/echo-cancel/webrtc.cc | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/src/modules/echo-cancel/webrtc.cc b/src/modules/echo-cancel/webrtc.cc
> index 8dd1805..4dbd2fc 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;

Ack.

-- 
Tanu


More information about the pulseaudio-discuss mailing list