Re: [pulseaudio-discuss] [PATCH] Two identical USB sound-cards - avahi fails to add service.

2010-09-10 Thread Colin Guthrie
'Twas brillig, and Paul Menzel at 10/09/10 10:56 did gyre and gimble: > thank you for your patch. Could you please send the patch using the Git > tools (`git format-patch -s -1` (and maybe) `git send-email`). This way > developers do not need to copy paste your commit message from your > messages b

Re: [pulseaudio-discuss] [PATCH] Two identical USB sound-cards - avahi fails to add service.

2010-09-10 Thread Paul Menzel
Dear Ivar, Am Donnerstag, den 09.09.2010, 20:20 +0200 schrieb Ivar Mossin: […] thank you for your patch. Could you please send the patch using the Git tools (`git format-patch -s -1` (and maybe) `git send-email`). This way developers do not need to copy paste your commit message from your messa

[pulseaudio-discuss] [PATCH] Two identical USB sound-cards - avahi fails to add service.

2010-09-09 Thread Ivar Mossin
oh, and since I just noticed I forgot the space between if () and for (), I send a new patch with those included. Sorry about that. -Ivar! diff --git a/src/modules/module-zeroconf-publish.c b/src/modules/module-zeroconf-publish.c index d72d264..5264e9e 100644 --- a/src/modules/module-zeroconf-publ

[pulseaudio-discuss] [PATCH] Two identical USB sound-cards - avahi fails to add service.

2010-09-09 Thread Ivar Mossin
Hey, I have written a small patch that allows the module-zeroconf-publish module to export the service for both cards, even though they originally had the same name. In the get_service() I have extracted the content that dealt with naming the service to a separate function, get_service_name(). The