Changeset 2cc5c835 in mainline for uspace/lib/drv/include/audio_pcm_iface.h
- Timestamp:
- 2012-07-15T15:14:10Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 57e8b3b
- Parents:
- b497018
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/include/audio_pcm_iface.h
rb497018 r2cc5c835 39 39 #include <async.h> 40 40 #include <bool.h> 41 #include <loc.h> 41 42 #include <pcm_sample_format.h> 42 43 … … 50 51 }; 51 52 53 typedef async_sess_t audio_pcm_sess_t; 52 54 53 int audio_pcm_get_info_str(async_exch_t *, const char **); 54 int audio_pcm_get_buffer(async_exch_t *, void **, size_t *, 55 audio_pcm_sess_t *audio_pcm_open(const char *); 56 audio_pcm_sess_t *audio_pcm_open_service(service_id_t service); 57 void audio_pcm_close(audio_pcm_sess_t *); 58 59 int audio_pcm_get_info_str(audio_pcm_sess_t *, const char **); 60 int audio_pcm_get_buffer(audio_pcm_sess_t *, void **, size_t *, 55 61 async_client_conn_t, void *); 56 int audio_pcm_release_buffer(a sync_exch_t *);62 int audio_pcm_release_buffer(audio_pcm_sess_t *); 57 63 58 int audio_pcm_start_playback(a sync_exch_t *, unsigned,64 int audio_pcm_start_playback(audio_pcm_sess_t *, unsigned, 59 65 unsigned, unsigned, pcm_sample_format_t); 60 int audio_pcm_stop_playback(a sync_exch_t *);66 int audio_pcm_stop_playback(audio_pcm_sess_t *); 61 67 62 int audio_pcm_start_record(a sync_exch_t *, unsigned,68 int audio_pcm_start_record(audio_pcm_sess_t *, unsigned, 63 69 unsigned, unsigned, pcm_sample_format_t); 64 int audio_pcm_stop_record(a sync_exch_t *);70 int audio_pcm_stop_record(audio_pcm_sess_t *); 65 71 66 72 /** Audio pcm communication interface. */
Note:
See TracChangeset
for help on using the changeset viewer.