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


Ignore:
Timestamp:
2012-07-11T12:05:30Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
039337e8
Parents:
94694a4
Message:

audio: Use enum for sample format.

File:
1 edited

Legend:

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

    r94694a4 r346643c  
    3838#include <libarch/ddi.h>
    3939#include <errno.h>
     40#include <pcm_sample_format.h>
    4041
    4142#include "registers.h"
     
    7172int sb_dsp_release_buffer(sb_dsp_t *dsp, unsigned id);
    7273int sb_dsp_start_playback(sb_dsp_t *dsp, unsigned id, unsigned parts,
    73     unsigned sample_rate, unsigned sample_size, unsigned channels, bool sign);
     74    unsigned channels, unsigned sample_rate, pcm_sample_format_t format);
    7475int sb_dsp_stop_playback(sb_dsp_t *dsp, unsigned id);
    7576int sb_dsp_start_record(sb_dsp_t *dsp, unsigned id, unsigned parts,
    76     unsigned sample_rate, unsigned sample_size, unsigned channels, bool sign);
     77    unsigned channels, unsigned sample_rate, pcm_sample_format_t format);
    7778int sb_dsp_stop_record(sb_dsp_t *dsp, unsigned id);
    7879
Note: See TracChangeset for help on using the changeset viewer.