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


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

sb16, dsp: Remove internal playback functions.

External playback works reasonably well.

File:
1 edited

Legend:

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

    rb499127 rc17c872c  
    5151        struct {
    5252                uint8_t *data;
    53                 uint8_t *position;
    5453                size_t size;
    5554        } buffer;
    5655        struct {
    57                 const uint8_t *data;
    58                 const uint8_t *position;
    59                 size_t size;
    6056                uint8_t mode;
     57                uint16_t samples;
    6158        } playing;
    6259        ddf_dev_t *sb_dev;
     
    6663    int dma8, int dma16);
    6764void 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);
    7265
    7366int 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.