Ignore:
Timestamp:
2012-08-19T14:35:32Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fa91c0f
Parents:
ad42844
Message:

Rename record → capture.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/include/audio_pcm_iface.h

    rad42844 rd86c9736  
    4545
    4646typedef enum {
    47         AUDIO_CAP_RECORD,
     47        AUDIO_CAP_CAPTURE,
    4848        AUDIO_CAP_PLAYBACK,
    4949        AUDIO_CAP_MAX_BUFFER,
     
    5656enum {
    5757        PCM_EVENT_FRAMES_PLAYED = IPC_FIRST_USER_METHOD,
    58         PCM_EVENT_FRAMES_RECORDED,
     58        PCM_EVENT_FRAMES_CAPTURED,
    5959        PCM_EVENT_PLAYBACK_TERMINATED,
    60         PCM_EVENT_RECORDING_TERMINATED
     60        PCM_EVENT_CAPTURE_TERMINATED
    6161};
    6262
     
    8080int audio_pcm_stop_playback(audio_pcm_sess_t *);
    8181
    82 int audio_pcm_start_record(audio_pcm_sess_t *, unsigned,
     82int audio_pcm_start_capture(audio_pcm_sess_t *, unsigned,
    8383    unsigned, unsigned, pcm_sample_format_t);
    84 int audio_pcm_stop_record(audio_pcm_sess_t *);
     84int audio_pcm_stop_capture(audio_pcm_sess_t *);
    8585
    8686/** Audio pcm communication interface. */
     
    9696            unsigned, unsigned, pcm_sample_format_t);
    9797        int (*stop_playback)(ddf_fun_t *);
    98         int (*start_record)(ddf_fun_t *, unsigned,
     98        int (*start_capture)(ddf_fun_t *, unsigned,
    9999            unsigned, unsigned, pcm_sample_format_t);
    100         int (*stop_record)(ddf_fun_t *);
     100        int (*stop_capture)(ddf_fun_t *);
    101101} audio_pcm_iface_t;
    102102
Note: See TracChangeset for help on using the changeset viewer.