Changeset 2e01b3f in mainline for uspace/lib/drv/include/audio_pcm_iface.h
- Timestamp:
- 2012-07-19T17:43:47Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f0241bda
- Parents:
- c5cbc1b7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/include/audio_pcm_iface.h
rc5cbc1b7 r2e01b3f 44 44 #include "ddf/driver.h" 45 45 46 typedef enum { 47 AUDIO_CAP_RECORD, 48 AUDIO_CAP_PLAYBACK, 49 AUDIO_CAP_MAX_BUFFER, 50 AUDIO_CAP_BUFFER_POS, 51 AUDIO_CAP_INTERRUPT, 52 AUDIO_CAP_INTERRUPT_MIN_FRAMES, 53 AUDIO_CAP_INTERRUPT_MAX_FRAMES, 54 } audio_cap_t; 55 46 56 enum { 47 57 PCM_EVENT_FRAMES_PLAYED = IPC_FIRST_USER_METHOD, … … 60 70 int audio_pcm_test_format(audio_pcm_sess_t *, unsigned *, unsigned *, 61 71 pcm_sample_format_t *); 72 int audio_pcm_query_cap(audio_pcm_sess_t *, audio_cap_t, unsigned *); 62 73 63 74 int audio_pcm_get_buffer(audio_pcm_sess_t *, void **, size_t *, … … 78 89 int (*test_format)(ddf_fun_t *, unsigned *, unsigned *, 79 90 pcm_sample_format_t *); 91 unsigned (*query_cap)(ddf_fun_t *, audio_cap_t); 80 92 int (*get_buffer)(ddf_fun_t *, void **, size_t *); 81 93 int (*release_buffer)(ddf_fun_t *);
Note:
See TracChangeset
for help on using the changeset viewer.