Changeset c885a21 in mainline for uspace/drv/audio/sb16/dsp.h
- Timestamp:
- 2011-11-14T12:38:50Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1269160
- Parents:
- 1b93658
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/audio/sb16/dsp.h
r1b93658 rc885a21 35 35 #define DRV_AUDIO_SB16_DSP_H 36 36 37 #include <ddf/driver.h> 37 38 #include <libarch/ddi.h> 38 39 #include <errno.h> … … 42 43 typedef struct sb_dsp_t { 43 44 sb16_regs_t *regs; 45 int dma8_channel; 46 int dma16_channel; 44 47 struct { 45 48 uint8_t major; … … 57 60 uint8_t mode; 58 61 } playing; 62 ddf_dev_t *sb_dev; 59 63 } sb_dsp_t; 60 64 61 int sb_dsp_init(sb_dsp_t *dsp, sb16_regs_t *regs); 65 int sb_dsp_init(sb_dsp_t *dsp, sb16_regs_t *regs, ddf_dev_t *dev, 66 int dma8, int dma16); 62 67 void sb_dsp_interrupt(sb_dsp_t *dsp); 63 68 int sb_dsp_play_direct(sb_dsp_t *dsp, const uint8_t *data, size_t size,
Note:
See TracChangeset
for help on using the changeset viewer.