]> code.delx.au - pulseaudio/commit
protocol-native: Fix invalid assert
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Tue, 12 Jul 2011 03:52:41 +0000 (20:52 -0700)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Tue, 12 Jul 2011 03:52:41 +0000 (20:52 -0700)
commitf69cbdbdf7a0416202f882be8a65793fa57783c6
tree86f3a97a9fb5c8957819fc2dbd6c29005b2facb1
parent018de50cfdd6d49c4da2943a0c97dd3705a2f6e8
protocol-native: Fix invalid assert

For source and sinks, we allow both the index and name to be invalid
while introspecting (the default source/sink will be used). This
modifies the assert appropriately. Thanks to Drew Ogle
<dantealiegri@gmail.com> for reporting and providing a patch.
src/pulsecore/protocol-native.c