Ignore:
File:
1 edited

Legend:

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

    rb7fd2a0 rf2a92b0  
    7676} sb_dsp_t;
    7777
    78 errno_t sb_dsp_init(sb_dsp_t *dsp, sb16_regs_t *regs, ddf_dev_t *dev,
     78int sb_dsp_init(sb_dsp_t *dsp, sb16_regs_t *regs, ddf_dev_t *dev,
    7979    int dma8, int dma16);
    8080void sb_dsp_interrupt(sb_dsp_t *dsp);
    8181unsigned sb_dsp_query_cap(sb_dsp_t *dsp, audio_cap_t cap);
    82 errno_t sb_dsp_get_buffer_position(sb_dsp_t *dsp, size_t *size);
    83 errno_t sb_dsp_test_format(sb_dsp_t *dsp, unsigned *channels, unsigned *rate,
     82int sb_dsp_get_buffer_position(sb_dsp_t *dsp, size_t *size);
     83int sb_dsp_test_format(sb_dsp_t *dsp, unsigned *channels, unsigned *rate,
    8484  pcm_sample_format_t *format);
    85 errno_t sb_dsp_get_buffer(sb_dsp_t *dsp, void **buffer, size_t *size);
    86 errno_t sb_dsp_set_event_session(sb_dsp_t *dsp, async_sess_t *session);
     85int sb_dsp_get_buffer(sb_dsp_t *dsp, void **buffer, size_t *size);
     86int sb_dsp_set_event_session(sb_dsp_t *dsp, async_sess_t *session);
    8787async_sess_t * sb_dsp_get_event_session(sb_dsp_t *dsp);
    88 errno_t sb_dsp_release_buffer(sb_dsp_t *dsp);
    89 errno_t sb_dsp_start_playback(sb_dsp_t *dsp, unsigned frames,
     88int sb_dsp_release_buffer(sb_dsp_t *dsp);
     89int sb_dsp_start_playback(sb_dsp_t *dsp, unsigned frames,
    9090    unsigned channels, unsigned sample_rate, pcm_sample_format_t format);
    91 errno_t sb_dsp_stop_playback(sb_dsp_t *dsp, bool immediate);
    92 errno_t sb_dsp_start_capture(sb_dsp_t *dsp, unsigned frames,
     91int sb_dsp_stop_playback(sb_dsp_t *dsp, bool immediate);
     92int sb_dsp_start_capture(sb_dsp_t *dsp, unsigned frames,
    9393    unsigned channels, unsigned sample_rate, pcm_sample_format_t format);
    94 errno_t sb_dsp_stop_capture(sb_dsp_t *dsp, bool immediate);
     94int sb_dsp_stop_capture(sb_dsp_t *dsp, bool immediate);
    9595
    9696#endif
Note: See TracChangeset for help on using the changeset viewer.