Changeset 353f8cc in mainline for uspace/srv/audio/hound/hound_ctx.c


Ignore:
Timestamp:
2013-04-05T18:12:23Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fb14905
Parents:
2373ba7
Message:

hound: make sure all streams are gone before removing context

File:
1 edited

Legend:

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

    r2373ba7 r353f8cc  
    7777        assert(ctx);
    7878        assert(!link_in_use(&ctx->link));
     79        assert(list_empty(&ctx->streams));
    7980        if (ctx->source)
    8081                audio_source_fini(ctx->source);
    8182        if (ctx->sink)
    8283                audio_sink_fini(ctx->sink);
    83         //TODO remove streams
    8484        free(ctx->source);
    8585        free(ctx->sink);
Note: See TracChangeset for help on using the changeset viewer.