Changeset 5c62b5f in mainline


Ignore:
Timestamp:
2011-11-30T22:37:47Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b2a6dacf
Parents:
ed3f8d5
Message:

sb16: Use void* for playback data.

Location:
uspace/drv/audio/sb16
Files:
2 edited

Legend:

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

    red3f8d5 r5c62b5f  
    248248}
    249249/*----------------------------------------------------------------------------*/
    250 int sb_dsp_play(sb_dsp_t *dsp, const uint8_t *data, size_t size,
     250int sb_dsp_play(sb_dsp_t *dsp, const void *data, size_t size,
    251251    uint16_t sampling_rate, unsigned channels, unsigned sample_size)
    252252{
  • uspace/drv/audio/sb16/dsp.h

    red3f8d5 r5c62b5f  
    6868int sb_dsp_play_direct(sb_dsp_t *dsp, const uint8_t *data, size_t size,
    6969    unsigned sample_rate, unsigned channels, unsigned bit_depth);
    70 int sb_dsp_play(sb_dsp_t *dsp, const uint8_t *data, size_t size,
     70int sb_dsp_play(sb_dsp_t *dsp, const void *data, size_t size,
    7171    uint16_t sample_rate, unsigned channels, unsigned bit_depth);
    7272
Note: See TracChangeset for help on using the changeset viewer.