device-type: Add pa_device_type_to_string() 41/31441/1
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Thu, 4 Dec 2014 13:51:26 +0000 (15:51 +0200)
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Thu, 4 Dec 2014 14:27:53 +0000 (16:27 +0200)
commit41b1b7b9e208857a0dc06611062bb0aa75bc242e
tree4c11dc778750428b13edeea378cda07e86b333ce
parent29f63fb2b54586a8e3141f7e95402df81ecd9b44
device-type: Add pa_device_type_to_string()

This is needed by the tunnel manager. It feels a bit silly to
introduce new source files for just this function, but I couldn't
think of any other appropriate place. pa_device_type_t is defined
in pulse/def.h, and that's not an appropriate place for any
functions.

Change-Id: I6f969fe3acb934e8bb8fdfa5873a4d6d3fa6721c
src/Makefile.am
src/pulsecore/device-type.c [new file with mode: 0644]
src/pulsecore/device-type.h [new file with mode: 0644]