Changeset 1df3018a in mainline for uspace/srv/audio/hound/hound.h


Ignore:
Timestamp:
2012-07-13T03:24:17Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d93a5a6f
Parents:
d01e635
Message:

hound: Only few more TODOs left

File:
1 edited

Legend:

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

    rd01e635 r1df3018a  
    4141#include <ipc/loc.h>
    4242#include <errno.h>
     43#include <fibril_synch.h>
     44
     45#include "audio_source.h"
     46#include "audio_sink.h"
     47#include "audio_format.h"
     48
    4349
    4450typedef struct {
     51        fibril_mutex_t list_guard;
    4552        list_t devices;
    46         list_t clients;
     53        list_t sources;
    4754        list_t available_sources;
    4855        list_t sinks;
     
    5158int hound_init(hound_t *hound);
    5259int hound_add_device(hound_t *hound, service_id_t id, const char* name);
    53 int hound_add_playback_client(hound_t *hound, const char* name);
    54 int hound_add_record_client(hound_t *hound, const char* name);
     60int hound_add_source(hound_t *hound, audio_source_t *source);
     61int hound_add_sink(hound_t *hound, audio_sink_t *sink);
     62int hound_connect(const char* source_name, const char* sink_name);
     63int hound_disconnect(const char* source_name, const char* sink_name);
    5564
    5665#endif
Note: See TracChangeset for help on using the changeset viewer.