Fork us on GitHub Follow us on Facebook Follow us on Twitter

Ignore:
Timestamp:
2012-07-11T12:05:30Z (10 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial
Children:
039337e8
Parents:
94694a4
Message:

audio: Use enum for sample format.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/include/audio_pcm_iface.h

    r94694a4 r346643c  
    3939#include <async.h>
    4040#include <bool.h>
     41#include <pcm_sample_format.h>
    4142
    4243#include "ddf/driver.h"
     
    4849
    4950int audio_pcm_start_playback(async_exch_t *, unsigned, unsigned,
    50     unsigned, uint16_t, uint8_t, bool);
     51    unsigned, unsigned, pcm_sample_format_t);
    5152int audio_pcm_stop_playback(async_exch_t *, unsigned);
    5253
    5354int audio_pcm_start_record(async_exch_t *, unsigned, unsigned,
    54     unsigned, uint16_t, uint8_t, bool);
     55    unsigned, unsigned, pcm_sample_format_t);
    5556int audio_pcm_stop_record(async_exch_t *, unsigned);
    5657
     
    6263        int (*set_event_session)(ddf_fun_t *, unsigned, async_sess_t *);
    6364        int (*start_playback)(ddf_fun_t *, unsigned, unsigned,
    64             unsigned, unsigned, unsigned, bool);
     65            unsigned, unsigned, pcm_sample_format_t);
    6566        int (*stop_playback)(ddf_fun_t *, unsigned);
    6667        int (*start_record)(ddf_fun_t *, unsigned, unsigned,
    67             unsigned, unsigned, unsigned, bool);
     68            unsigned, unsigned, pcm_sample_format_t);
    6869        int (*stop_record)(ddf_fun_t *, unsigned);
    6970} audio_pcm_iface_t;
Note: See TracChangeset for help on using the changeset viewer.