Changeset 7ca22e5 in mainline for uspace/drv/audio/sb16/dsp.h


Ignore:
Timestamp:
2012-07-05T19:32:58Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
725d038
Parents:
8de7ef2
Message:

drv/audio/sb16: Accept event session and send USER_METHOD on playback interrupt.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/audio/sb16/dsp.h

    r8de7ef2 r7ca22e5  
    5757                uint16_t samples;
    5858        } playing;
     59        async_sess_t *event_session;
     60        async_exch_t *event_exchange;
    5961        ddf_dev_t *sb_dev;
    6062} sb_dsp_t;
     
    6567
    6668int sb_dsp_get_buffer(sb_dsp_t *dsp, void **buffer, size_t *size, unsigned *id);
     69int sb_dsp_set_event_session(sb_dsp_t *dsp, unsigned id, async_sess_t *session);
    6770int sb_dsp_release_buffer(sb_dsp_t *dsp, unsigned id);
    68 int sb_dsp_start_playback(sb_dsp_t *dsp, unsigned id, unsigned sample_rate,
    69     unsigned sample_size, unsigned channels, bool sign);
     71int sb_dsp_start_playback(sb_dsp_t *dsp, unsigned id, unsigned parts,
     72    unsigned sample_rate, unsigned sample_size, unsigned channels, bool sign);
    7073int sb_dsp_stop_playback(sb_dsp_t *dsp, unsigned id);
    7174int sb_dsp_start_record(sb_dsp_t *dsp, unsigned id, unsigned sample_rate,
Note: See TracChangeset for help on using the changeset viewer.