Changeset 3b6c1d4 in mainline for uspace/srv/audio/hound/hound.h


Ignore:
Timestamp:
2013-04-02T15:13:12Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
62beb4b
Parents:
2d1fdcad
Message:

hound: implement context manipulation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/audio/hound/hound.h

    r2d1fdcad r3b6c1d4  
    4343#include <fibril_synch.h>
    4444#include <pcm/format.h>
     45#include <hound/protocol.h>
    4546
     47#include "hound_ctx.h"
    4648#include "audio_source.h"
    4749#include "audio_sink.h"
     
    5153        fibril_mutex_t list_guard;
    5254        list_t devices;
     55        list_t contexts;
    5356        list_t sources;
    5457        list_t sinks;
     
    5659
    5760int hound_init(hound_t *hound);
     61int hound_add_ctx(hound_t *hound, hound_ctx_t *ctx);
     62int hound_remove_ctx(hound_t *hound, hound_ctx_t *ctx);
     63hound_ctx_t *hound_get_ctx_by_id(hound_t *hound, hound_context_id_t id);
     64
    5865int hound_add_device(hound_t *hound, service_id_t id, const char* name);
    5966int hound_add_source(hound_t *hound, audio_source_t *source);
Note: See TracChangeset for help on using the changeset viewer.