Ignore:
Timestamp:
2012-08-20T11:28:46Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fb6c98f
Parents:
20840922
Message:

audio: Move event callback into separate API calls.

File:
1 edited

Legend:

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

    r20840922 r018ab50  
    7171    pcm_sample_format_t *);
    7272int audio_pcm_query_cap(audio_pcm_sess_t *, audio_cap_t, unsigned *);
     73int audio_pcm_register_event_callback(audio_pcm_sess_t *,
     74    async_client_conn_t, void *);
     75int audio_pcm_unregister_event_callback(audio_pcm_sess_t *);
     76
     77int audio_pcm_get_buffer(audio_pcm_sess_t *, void **, size_t *);
    7378int audio_pcm_get_buffer_pos(audio_pcm_sess_t *, size_t *);
    74 
    75 int audio_pcm_get_buffer(audio_pcm_sess_t *, void **, size_t *,
    76     async_client_conn_t, void *);
    7779int audio_pcm_release_buffer(audio_pcm_sess_t *);
    7880
     
    9597        int (*release_buffer)(ddf_fun_t *);
    9698        int (*set_event_session)(ddf_fun_t *, async_sess_t *);
     99        async_sess_t * (*get_event_session)(ddf_fun_t *);
    97100        int (*start_playback)(ddf_fun_t *, unsigned,
    98101            unsigned, unsigned, pcm_sample_format_t);
Note: See TracChangeset for help on using the changeset viewer.