Fork us on GitHub Follow us on Facebook Follow us on Twitter

Ignore:
Timestamp:
2012-07-15T15:13:34Z (10 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial
Children:
2cc5c835
Parents:
44d1311
Message:

Drop id parameter from audio_pcm interface.

Independent buffer should have separate nodes.

File:
1 edited

Legend:

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

    r44d1311 rb497018  
    5252
    5353int audio_pcm_get_info_str(async_exch_t *, const char **);
    54 int audio_pcm_get_buffer(async_exch_t *, void **, size_t *, unsigned *,
     54int audio_pcm_get_buffer(async_exch_t *, void **, size_t *,
    5555    async_client_conn_t, void *);
    56 int audio_pcm_release_buffer(async_exch_t *, unsigned);
     56int audio_pcm_release_buffer(async_exch_t *);
    5757
    58 int audio_pcm_start_playback(async_exch_t *, unsigned, unsigned,
     58int audio_pcm_start_playback(async_exch_t *, unsigned,
    5959    unsigned, unsigned, pcm_sample_format_t);
    60 int audio_pcm_stop_playback(async_exch_t *, unsigned);
     60int audio_pcm_stop_playback(async_exch_t *);
    6161
    62 int audio_pcm_start_record(async_exch_t *, unsigned, unsigned,
     62int audio_pcm_start_record(async_exch_t *, unsigned,
    6363    unsigned, unsigned, pcm_sample_format_t);
    64 int audio_pcm_stop_record(async_exch_t *, unsigned);
     64int audio_pcm_stop_record(async_exch_t *);
    6565
    6666/** Audio pcm communication interface. */
    6767typedef struct {
    6868        int (*get_info_str)(ddf_fun_t *, const char **);
    69         int (*get_buffer)(ddf_fun_t *, void **, size_t *, unsigned *);
    70         int (*release_buffer)(ddf_fun_t *, unsigned);
    71         int (*set_event_session)(ddf_fun_t *, unsigned, async_sess_t *);
    72         int (*start_playback)(ddf_fun_t *, unsigned, unsigned,
     69        int (*get_buffer)(ddf_fun_t *, void **, size_t *);
     70        int (*release_buffer)(ddf_fun_t *);
     71        int (*set_event_session)(ddf_fun_t *, async_sess_t *);
     72        int (*start_playback)(ddf_fun_t *, unsigned,
    7373            unsigned, unsigned, pcm_sample_format_t);
    74         int (*stop_playback)(ddf_fun_t *, unsigned);
    75         int (*start_record)(ddf_fun_t *, unsigned, unsigned,
     74        int (*stop_playback)(ddf_fun_t *);
     75        int (*start_record)(ddf_fun_t *, unsigned,
    7676            unsigned, unsigned, pcm_sample_format_t);
    77         int (*stop_record)(ddf_fun_t *, unsigned);
     77        int (*stop_record)(ddf_fun_t *);
    7878} audio_pcm_iface_t;
    7979
Note: See TracChangeset for help on using the changeset viewer.