Changeset 5a6cc679 in mainline for uspace/drv/audio/sb16/dsp.h


Ignore:
Timestamp:
2018-01-31T02:21:24Z (7 years ago)
Author:
Jenda <jenda.jzqk73@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a0a9cc2
Parents:
132ab5d1
Message:

Merge commit '50f19b7ee8e94570b5c63896736c4eb49cfa18db' into forwardport

Not all ints are converted to errno_t in xhci tree yet, however it compiles and works :)

File:
1 edited

Legend:

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

    r132ab5d1 r5a6cc679  
    7676} sb_dsp_t;
    7777
    78 int sb_dsp_init(sb_dsp_t *dsp, sb16_regs_t *regs, ddf_dev_t *dev,
     78errno_t 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 int sb_dsp_get_buffer_position(sb_dsp_t *dsp, size_t *size);
    83 int sb_dsp_test_format(sb_dsp_t *dsp, unsigned *channels, unsigned *rate,
     82errno_t sb_dsp_get_buffer_position(sb_dsp_t *dsp, size_t *size);
     83errno_t sb_dsp_test_format(sb_dsp_t *dsp, unsigned *channels, unsigned *rate,
    8484  pcm_sample_format_t *format);
    85 int sb_dsp_get_buffer(sb_dsp_t *dsp, void **buffer, size_t *size);
    86 int sb_dsp_set_event_session(sb_dsp_t *dsp, async_sess_t *session);
     85errno_t sb_dsp_get_buffer(sb_dsp_t *dsp, void **buffer, size_t *size);
     86errno_t 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 int sb_dsp_release_buffer(sb_dsp_t *dsp);
    89 int sb_dsp_start_playback(sb_dsp_t *dsp, unsigned frames,
     88errno_t sb_dsp_release_buffer(sb_dsp_t *dsp);
     89errno_t sb_dsp_start_playback(sb_dsp_t *dsp, unsigned frames,
    9090    unsigned channels, unsigned sample_rate, pcm_sample_format_t format);
    91 int sb_dsp_stop_playback(sb_dsp_t *dsp, bool immediate);
    92 int sb_dsp_start_capture(sb_dsp_t *dsp, unsigned frames,
     91errno_t sb_dsp_stop_playback(sb_dsp_t *dsp, bool immediate);
     92errno_t sb_dsp_start_capture(sb_dsp_t *dsp, unsigned frames,
    9393    unsigned channels, unsigned sample_rate, pcm_sample_format_t format);
    94 int sb_dsp_stop_capture(sb_dsp_t *dsp, bool immediate);
     94errno_t sb_dsp_stop_capture(sb_dsp_t *dsp, bool immediate);
    9595
    9696#endif
Note: See TracChangeset for help on using the changeset viewer.