Changeset c17c872c in mainline for uspace/drv/audio/sb16/dsp.h
- Timestamp:
- 2011-12-05T15:20:50Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c0149cc
- Parents:
- b499127
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/audio/sb16/dsp.h
rb499127 rc17c872c 51 51 struct { 52 52 uint8_t *data; 53 uint8_t *position;54 53 size_t size; 55 54 } buffer; 56 55 struct { 57 const uint8_t *data;58 const uint8_t *position;59 size_t size;60 56 uint8_t mode; 57 uint16_t samples; 61 58 } playing; 62 59 ddf_dev_t *sb_dev; … … 66 63 int dma8, int dma16); 67 64 void sb_dsp_interrupt(sb_dsp_t *dsp); 68 int sb_dsp_play_direct(sb_dsp_t *dsp, const uint8_t *data, size_t size,69 unsigned sample_rate, unsigned channels, unsigned bit_depth);70 int sb_dsp_play(sb_dsp_t *dsp, const void *data, size_t size,71 uint16_t sample_rate, unsigned channels, unsigned bit_depth);72 65 73 66 int sb_dsp_get_buffer(sb_dsp_t *dsp, void **buffer, size_t *size, unsigned *id);
Note:
See TracChangeset
for help on using the changeset viewer.