]> code.delx.au - pulseaudio/commit
device-port: Create the profiles hashmap at initialization.
authorTanu Kaskinen <tanuk@iki.fi>
Mon, 4 Jun 2012 14:44:20 +0000 (17:44 +0300)
committerTanu Kaskinen <tanuk@iki.fi>
Fri, 8 Jun 2012 13:28:22 +0000 (16:28 +0300)
commitde95e1c0c8870f27bd53785e804d6b4363a275af
treea7500c627d9c15414446981d5f68177d025f1463
parent866b2c9a57caa21668bb9ab0e6c1d08fa44db90e
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