" *) default option\n");
}
-int open_mixer() {
+void open_mixer() {
if (hardware_mixer) {
debug(2, "Open Mixer");
int ret = 0;
debug(1,"The alsa buffer is to small (%lu bytes) to accommodate the desired backend buffer length (%ld) you have chosen.",actual_buffer_length,config.audio_backend_buffer_desired_length);
}
- if ((alsa_characteristics_already_listed==0)) {
+ if (alsa_characteristics_already_listed==0) {
alsa_characteristics_already_listed=1;
int rc;
#include <avahi-common/error.h>
#include <avahi-client/lookup.h>
+#include <avahi-common/alternative.h>
static AvahiServiceBrowser *sb = NULL;
static AvahiClient *client = NULL;
/* A service name collision with a remote service
* happened. Let's pick a new name */
- n = avahi_alternative_service_name( name );
- avahi_free( name );
+ n = avahi_alternative_service_name(name);
+ avahi_free(name);
name = n;
debug(2,"avahi: service name collision, renaming service to '%s'", name );