Changeset f465461 in mainline for uspace/lib/hound/include/hound/client.h
- Timestamp:
- 2013-04-05T16:50:55Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7e7def5
- Parents:
- 60e5696d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/hound/include/hound/client.h
r60e5696d rf465461 43 43 #define HOUND_DEFAULT_TARGET "default" 44 44 #define HOUND_ALL_TARGETS "all" 45 #define DEFAULT_SINK "default" //DEPRECATED46 45 47 46 typedef struct hound_context hound_context_t; … … 80 79 pcm_format_t format, const void *data, size_t size); 81 80 82 83 84 85 86 typedef async_sess_t hound_sess_t;87 88 typedef void (*data_callback_t)(void *, void *, ssize_t);89 90 hound_sess_t *hound_get_session(void);91 void hound_release_session(hound_sess_t *sess);92 int hound_register_playback(hound_sess_t *sess, const char *name,93 unsigned channels, unsigned rate, pcm_sample_format_t format,94 data_callback_t data_callback, void *arg);95 int hound_register_recording(hound_sess_t *sess, const char *name,96 unsigned channels, unsigned rate, pcm_sample_format_t format,97 data_callback_t data_callback, void *arg);98 int hound_unregister_playback(hound_sess_t *sess, const char *name);99 int hound_unregister_recording(hound_sess_t *sess, const char *name);100 int hound_create_connection(hound_sess_t *sess, const char *source, const char *sink);101 int hound_destroy_connection(hound_sess_t *sess, const char *source, const char *sink);102 103 81 #endif
Note:
See TracChangeset
for help on using the changeset viewer.