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


Ignore:
Timestamp:
2011-09-25T19:41:22Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
57542304
Parents:
0687e1b
Message:

sb16: Implement direct mode digital sound I/O.

File:
1 edited

Legend:

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

    r0687e1b r763444e  
    2626 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    2727 */
    28 
    2928/** @addtogroup drvaudiosb16
    3029 * @{
    3130 */
    3231/** @file
    33  * @brief SB16 main structure combining all functionality
     32 * @brief Sound Blaster Digital Sound Processor (DSP) helper functions.
    3433 */
    3534#ifndef DRV_AUDIO_SB16_DSP_H
     
    3736
    3837#include <libarch/ddi.h>
     38#include <errno.h>
    3939
    4040#include "registers.h"
     41#include "dsp_commands.h"
    4142
    4243#ifndef DSP_PIO_DELAY
     
    9091        pio_write_8(&regs->dsp_reset, 0);
    9192}
     93/*----------------------------------------------------------------------------*/
     94int dsp_play_direct(sb16_regs_t *regs, const uint8_t *data, size_t size,
     95    unsigned sample_rate, unsigned channels, unsigned bit_depth);
    9296#endif
    9397/**
Note: See TracChangeset for help on using the changeset viewer.