remove some unused event and seqnum

This commit is contained in:
Wim Taymans 2017-03-09 19:21:50 +01:00
parent 1e600713a5
commit 8fbcb0fef1
9 changed files with 42 additions and 127 deletions

View file

@ -64,8 +64,6 @@ typedef struct
SpaNodeState node_state;
uint32_t seq;
uint32_t n_possible_formats;
SpaFormat **possible_formats;
@ -661,7 +659,6 @@ handle_node_command (PinosStream *stream,
static void
client_node_done (void *object,
uint32_t seq,
int datafd)
{
PinosProxy *proxy = object;
@ -1000,7 +997,6 @@ pinos_stream_connect (PinosStream *stream,
impl->node_proxy->implementation = &client_node_events;
pinos_core_do_create_client_node (stream->context->core_proxy,
++impl->seq,
"client-node",
&stream->properties->dict,
impl->node_proxy->id);
@ -1101,7 +1097,7 @@ pinos_stream_disconnect (PinosStream *stream)
unhandle_socket (stream);
pinos_client_node_do_destroy (impl->node_proxy, ++impl->seq);
pinos_client_node_do_destroy (impl->node_proxy);
return true;
}