audio_client: Use namespace PID as stream ID. [1/1]

PD#SWPL-99067

Problem:
In container mode the getpid() returns PID in
local namespace so it's not global unique.

Solution:
Use pid from root namespace to construct audio
stream ID.

Verify:
Verify from audio server side log in logcat
and see the audio stream name is with root
pid of client.

Change-Id: I0068a1fd629c237ef634ca913f7b311b30b99593
Signed-off-by: Tim Yao <tim.yao@amlogic.com>
4 files changed
tree: f278f89bb7abc8a31cd4a8876b824745cfdb2abd
  1. hal_aplug/
  2. include/
  3. src/
  4. Makefile