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


Ignore:
Timestamp:
2011-12-05T00:51:42Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e44385d
Parents:
c09ad29e
Message:

sb16, dsp: Add external buffer manipulation.

File:
1 edited

Legend:

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

    rc09ad29e r43dec08  
    7171    uint16_t sample_rate, unsigned channels, unsigned bit_depth);
    7272
     73int sb_dsp_get_buffer(sb_dsp_t *dsp, void **buffer, size_t *size, unsigned *id);
     74int sb_dsp_release_buffer(sb_dsp_t *dsp, unsigned id);
     75int sb_dsp_start_playback(sb_dsp_t *dsp, unsigned id, unsigned sample_rate,
     76    unsigned sample_size, unsigned channels, bool sign);
     77int sb_dsp_stop_playback(sb_dsp_t *dsp, unsigned id);
     78int sb_dsp_start_record(sb_dsp_t *dsp, unsigned id, unsigned sample_rate,
     79    unsigned sample_size, unsigned channels, bool sign);
     80int sb_dsp_stop_record(sb_dsp_t *dsp, unsigned id);
     81
    7382#endif
    7483/**
Note: See TracChangeset for help on using the changeset viewer.