Index: uspace/lib/hound/src/client.c
===================================================================
--- uspace/lib/hound/src/client.c	(revision 36774cfd1b6fe79f8a67f9ed3511715e4dbef29d)
+++ uspace/lib/hound/src/client.c	(revision 504f1ea3f50f3bc6ccb462628723e8deff3baf60)
@@ -43,7 +43,5 @@
 
 #include "client.h"
-#include "server.h"
-
-static const char *HOUND_SERVICE = "audio/hound";
+#include "protocol.h"
 
 /***
@@ -57,5 +55,5 @@
 
 typedef struct hound_context {
-	async_sess_t *session;
+	hound_sess_t *session;
 	const char *name;
 	bool record;
@@ -71,19 +69,4 @@
 } hound_context_t;
 
-async_sess_t *hound_get_session(void)
-{
-	service_id_t id = 0;
-	const int ret =
-	    loc_service_get_id(HOUND_SERVICE, &id, IPC_FLAG_BLOCKING);
-	if (ret != EOK)
-		return NULL;
-	return loc_service_connect(EXCHANGE_SERIALIZE, id, IPC_FLAG_BLOCKING);
-}
-
-void hound_release_session(async_sess_t *sess)
-{
-	if (sess)
-		async_hangup(sess);
-}
 
 static hound_context_t *hound_context_create(const char *name, bool record,
@@ -101,5 +84,5 @@
 		new_context->name = cont_name;
 		new_context->record = record;
-		new_context->session = hound_get_session();
+		new_context->session = hound_service_connect(HOUND_SERVICE);
 		new_context->main_stream = NULL;
 		new_context->main_format.sample = format;
