Changeset 7e7def5 in mainline for uspace/lib/hound/include
- Timestamp:
- 2013-04-05T16:58:55Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2373ba7
- Parents:
- f465461
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/hound/include/hound/server.h
rf465461 r7e7def5 38 38 39 39 #include <async.h> 40 #include <stdbool.h>41 40 #include <loc.h> 42 #include <pcm/format.h>43 44 45 46 enum {47 HOUND_REGISTER_PLAYBACK = IPC_FIRST_USER_METHOD,48 HOUND_REGISTER_RECORDING,49 HOUND_UNREGISTER_PLAYBACK,50 HOUND_UNREGISTER_RECORDING,51 HOUND_CONNECT,52 HOUND_DISCONNECT,53 };54 41 55 42 typedef void (*dev_change_callback_t)(void); 56 43 typedef int (*device_callback_t)(service_id_t, const char *); 57 58 44 59 45 int hound_server_register(const char *name, service_id_t *id); … … 61 47 int hound_server_set_device_change_callback(dev_change_callback_t cb); 62 48 int hound_server_devices_iterate(device_callback_t callback); 63 int hound_server_get_register_params(const char **name, async_sess_t **sess,64 unsigned *channels, unsigned *rate, pcm_sample_format_t *format);65 int hound_server_get_unregister_params(const char **name);66 int hound_server_get_connection_params(const char **source, const char **sink);67 49 68 50 #endif
Note:
See TracChangeset
for help on using the changeset viewer.