Changeset 01aef43 in mainline for uspace/drv/audio/sb16/dsp.h
- Timestamp:
- 2011-10-21T16:48:27Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9f351c8
- Parents:
- 1a11a16
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/audio/sb16/dsp.h
r1a11a16 r01aef43 46 46 uint8_t minor; 47 47 } version; 48 uint8_t *data_buffer; 49 uint8_t *buffer_position; 50 size_t buffer_size; 48 struct { 49 uint8_t *buffer_data; 50 uint8_t *buffer_position; 51 size_t buffer_size; 52 } buffer; 51 53 } sb_dsp_t; 52 54 53 54 55 /*----------------------------------------------------------------------------*/56 55 int sb_dsp_init(sb_dsp_t *dsp, sb16_regs_t *regs); 57 /*----------------------------------------------------------------------------*/58 56 int sb_dsp_play_direct(sb_dsp_t *dsp, const uint8_t *data, size_t size, 59 57 unsigned sample_rate, unsigned channels, unsigned bit_depth); 58 int sb_dsp_play(sb_dsp_t *dsp, const uint8_t *data, size_t size, 59 unsigned sample_rate, unsigned channels, unsigned bit_depth); 60 60 61 #endif 61 62 /**
Note:
See TracChangeset
for help on using the changeset viewer.