Changeset fa60cd69 in mainline for uspace/srv/audio/hound/main.c


Ignore:
Timestamp:
2013-04-02T19:06:27Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
35ab943
Parents:
39c4d1f
Message:

hound: add connection class

This will enable N to M routing in the future

File:
1 edited

Legend:

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

    r39c4d1f rfa60cd69  
    132132                        hound_server_get_unregister_params(&name);
    133133                        int ret = ENOENT;
    134                         list_foreach(local_playback, it) {
     134                        list_foreach_safe(local_playback, it, next) {
    135135                                audio_client_t *client =
    136136                                    audio_client_list_instance(it);
     137                                log_fatal("UNREGISTER_PLAYBACK %p", client);
    137138                                if (str_cmp(client->name, name) == 0) {
    138139                                        ret = hound_remove_source(&hound,
     
    213214                                        list_first(&local_playback));
    214215                                list_remove(&client->link);
     216                                log_fatal("CASE 0 %p", client);
    215217                                hound_remove_source(&hound, &client->source);
    216218                                audio_client_destroy(client);
Note: See TracChangeset for help on using the changeset viewer.