device-port: Create the profiles hashmap at initialization.
authorTanu Kaskinen <tanuk@iki.fi>
Mon, 4 Jun 2012 14:44:20 +0000 (17:44 +0300)
committerJaska Uimonen <jaska.uimonen@intel.com>
Mon, 10 Dec 2012 20:43:58 +0000 (22:43 +0200)
commit4d566f4223405980e1f4c2830c39f93ca6da3818
treec38171ec75e94dba849e22faf63e8eab5bc2974c
parentf00c5298177551eebc89d0a57a04312d9cb92c40
device-port: Create the profiles hashmap at initialization.

I doesn't make sense to require all callers of
pa_device_port_new() to create the hashmap themselves. There
are and there will be no cases where a port without any
profiles would be desired.
src/modules/alsa/alsa-mixer.c
src/pulsecore/device-port.c