Changeset ea6c838 in mainline for uspace/srv/audio/hound/audio_source.h
- Timestamp:
- 2012-07-17T08:26:49Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e6bba8f
- Parents:
- 950110ee
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/audio/hound/audio_source.h
r950110ee rea6c838 39 39 #include <adt/list.h> 40 40 #include <bool.h> 41 #include <pcm_sample_format.h> 42 43 44 #include "audio_format.h" 41 #include <pcm/format.h> 45 42 46 43 struct audio_sink; … … 50 47 link_t link; 51 48 const char *name; 52 audio_format_t format;49 pcm_format_t format; 53 50 void *private_data; 54 51 int (*connection_change)(audio_source_t *source); … … 70 67 int (*connection_change)(audio_source_t *), 71 68 int (*update_available_data)(audio_source_t *, size_t), 72 const audio_format_t *f);69 const pcm_format_t *f); 73 70 void audio_source_fini(audio_source_t *source); 74 71 int audio_source_connected(audio_source_t *source, struct audio_sink *sink); 75 72 int audio_source_add_self(audio_source_t *source, void *buffer, size_t size, 76 const audio_format_t *f);77 static inline const audio_format_t *audio_source_format(const audio_source_t *s)73 const pcm_format_t *f); 74 static inline const pcm_format_t *audio_source_format(const audio_source_t *s) 78 75 { 79 76 assert(s);
Note:
See TracChangeset
for help on using the changeset viewer.