Changeset d86c9736 in mainline for uspace/lib/drv/include/audio_pcm_iface.h
- Timestamp:
- 2012-08-19T14:35:32Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fa91c0f
- Parents:
- ad42844
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/include/audio_pcm_iface.h
rad42844 rd86c9736 45 45 46 46 typedef enum { 47 AUDIO_CAP_ RECORD,47 AUDIO_CAP_CAPTURE, 48 48 AUDIO_CAP_PLAYBACK, 49 49 AUDIO_CAP_MAX_BUFFER, … … 56 56 enum { 57 57 PCM_EVENT_FRAMES_PLAYED = IPC_FIRST_USER_METHOD, 58 PCM_EVENT_FRAMES_ RECORDED,58 PCM_EVENT_FRAMES_CAPTURED, 59 59 PCM_EVENT_PLAYBACK_TERMINATED, 60 PCM_EVENT_ RECORDING_TERMINATED60 PCM_EVENT_CAPTURE_TERMINATED 61 61 }; 62 62 … … 80 80 int audio_pcm_stop_playback(audio_pcm_sess_t *); 81 81 82 int audio_pcm_start_ record(audio_pcm_sess_t *, unsigned,82 int audio_pcm_start_capture(audio_pcm_sess_t *, unsigned, 83 83 unsigned, unsigned, pcm_sample_format_t); 84 int audio_pcm_stop_ record(audio_pcm_sess_t *);84 int audio_pcm_stop_capture(audio_pcm_sess_t *); 85 85 86 86 /** Audio pcm communication interface. */ … … 96 96 unsigned, unsigned, pcm_sample_format_t); 97 97 int (*stop_playback)(ddf_fun_t *); 98 int (*start_ record)(ddf_fun_t *, unsigned,98 int (*start_capture)(ddf_fun_t *, unsigned, 99 99 unsigned, unsigned, pcm_sample_format_t); 100 int (*stop_ record)(ddf_fun_t *);100 int (*stop_capture)(ddf_fun_t *); 101 101 } audio_pcm_iface_t; 102 102
Note:
See TracChangeset
for help on using the changeset viewer.