Ignore:
Timestamp:
2012-07-13T19:48:19Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
43c40a3
Parents:
ab07cf0
Message:

hound: Fix sink hook ambiguity by adding a parameter.

Also disconnect source when removing instead of failure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/audio/hound/audio_client.c

    rab07cf0 r13df13c8  
    5454}
    5555
    56 static int client_sink_connection_change(audio_sink_t *sink);
     56static int client_sink_connection_change(audio_sink_t *sink, bool new);
    5757static int client_source_connection_change(audio_source_t *source);
    5858static int client_source_update_data(audio_source_t *source, size_t size);
     
    105105}
    106106
    107 static int client_sink_connection_change(audio_sink_t *sink)
     107static int client_sink_connection_change(audio_sink_t *sink, bool new)
    108108{
    109109        //TODO create fibril
Note: See TracChangeset for help on using the changeset viewer.