OSDN Git Service

audio: Fix gateway state check
authorMikel Astiz <mikel.astiz@bmw-carit.de>
Fri, 4 May 2012 13:14:35 +0000 (15:14 +0200)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 7 May 2012 14:05:39 +0000 (07:05 -0700)
commit4523901db271776f1e5972dea6e982903ed4db5c
tree473d2a58b18d0b1adff00f532c1d1f3a6c8d38b9
parent69fd49d6febd0666a7193faa9cae04c455e945ff
audio: Fix gateway state check

Gateway should be considered active also if connecting or playing.

This could for example lead to manager_find_device() not returning a
device that is connecting, and thus the corresponding endpoint would
never be created in the Media API.
audio/device.c