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

libdrv: Add buffer position query.

Fix cap query:

Close exchange at the end.
Send query number instead of random value.

File:
1 edited

Legend:

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

    rd86c9736 rfa91c0f  
    7171    pcm_sample_format_t *);
    7272int audio_pcm_query_cap(audio_pcm_sess_t *, audio_cap_t, unsigned *);
     73int audio_pcm_get_buffer_pos(audio_pcm_sess_t *, size_t *);
    7374
    7475int audio_pcm_get_buffer(audio_pcm_sess_t *, void **, size_t *,
     
    9091            pcm_sample_format_t *);
    9192        unsigned (*query_cap)(ddf_fun_t *, audio_cap_t);
     93        int (*get_buffer_pos)(ddf_fun_t *, size_t *);
    9294        int (*get_buffer)(ddf_fun_t *, void **, size_t *);
    9395        int (*release_buffer)(ddf_fun_t *);
Note: See TracChangeset for help on using the changeset viewer.