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


Ignore:
Timestamp:
2012-07-07T21:26:04Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e1b7e36
Parents:
ef246b9
Message:

libdrv/audio,drv/audio/sb16: Update and implement recording interface.

Untested.

File:
1 edited

Legend:

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

    ref246b9 ra3ab774  
    5656                uint8_t mode;
    5757                uint16_t samples;
    58         } playing;
     58                bool playing;
     59        } active;
    5960        async_sess_t *event_session;
    6061        async_exch_t *event_exchange;
     
    7273    unsigned sample_rate, unsigned sample_size, unsigned channels, bool sign);
    7374int sb_dsp_stop_playback(sb_dsp_t *dsp, unsigned id);
    74 int sb_dsp_start_record(sb_dsp_t *dsp, unsigned id, unsigned sample_rate,
    75     unsigned sample_size, unsigned channels, bool sign);
     75int sb_dsp_start_record(sb_dsp_t *dsp, unsigned id, unsigned parts,
     76    unsigned sample_rate, unsigned sample_size, unsigned channels, bool sign);
    7677int sb_dsp_stop_record(sb_dsp_t *dsp, unsigned id);
    7778
Note: See TracChangeset for help on using the changeset viewer.