Audio: out_open_pcm_devices - use out->config instead of pcm_device->pcm_profile...
authorstenkinevgeniy <stenkinevgeniy@gmail.com>
Tue, 8 May 2018 06:52:05 +0000 (06:52 +0000)
committerstenkinevgeniy <stenkinevgeniy@gmail.com>
Tue, 8 May 2018 15:33:04 +0000 (15:33 +0000)
commit39d1d019965d04ddfad2c643de53cd5501803aa4
treee7419608eefb1bec62f87179cbc0151155617d1b
parent35dbc1e39fa7d355edbebe0071145aac45cc1075
Audio: out_open_pcm_devices - use out->config instead of pcm_device->pcm_profile->config.

Current get_pcm_device return always first finded pcm_profile.
And out->pcm_dev_list always have only pcm_device_playback pcm_profiles.

But if we need use deep_buffer pcm device
we need use deep_bufer pcm_config - current hal
don't did this...

And we configure out->config in adev_open_output_stream
function with proper pcm_config (deep or no).

Change-Id: I86fdb18202afb0e83393f32830d57c929f174ae6
audio/audio_hw.c