Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/audio/sb16/pcm_iface.c

    r9bd4615 rb7fd2a0  
    4747}
    4848
    49 static int sb_get_info_str(ddf_fun_t *fun, const char** name)
     49static errno_t sb_get_info_str(ddf_fun_t *fun, const char** name)
    5050{
    5151        if (name)
     
    5959}
    6060
    61 static int sb_test_format(ddf_fun_t *fun, unsigned *channels, unsigned *rate,
     61static errno_t sb_test_format(ddf_fun_t *fun, unsigned *channels, unsigned *rate,
    6262    pcm_sample_format_t *format)
    6363{
    6464        return sb_dsp_test_format(fun_to_dsp(fun), channels, rate, format);
    6565}
    66 static int sb_get_buffer(ddf_fun_t *fun, void **buffer, size_t *size)
     66static errno_t sb_get_buffer(ddf_fun_t *fun, void **buffer, size_t *size)
    6767{
    6868        return sb_dsp_get_buffer(fun_to_dsp(fun), buffer, size);
    6969}
    7070
    71 static int sb_get_buffer_position(ddf_fun_t *fun, size_t *size)
     71static errno_t sb_get_buffer_position(ddf_fun_t *fun, size_t *size)
    7272{
    7373        return sb_dsp_get_buffer_position(fun_to_dsp(fun), size);
    7474}
    7575
    76 static int sb_set_event_session(ddf_fun_t *fun, async_sess_t *sess)
     76static errno_t sb_set_event_session(ddf_fun_t *fun, async_sess_t *sess)
    7777{
    7878        return sb_dsp_set_event_session(fun_to_dsp(fun), sess);
     
    8484}
    8585
    86 static int sb_release_buffer(ddf_fun_t *fun)
     86static errno_t sb_release_buffer(ddf_fun_t *fun)
    8787{
    8888        return sb_dsp_release_buffer(fun_to_dsp(fun));
    8989}
    9090
    91 static int sb_start_playback(ddf_fun_t *fun, unsigned frames,
     91static errno_t sb_start_playback(ddf_fun_t *fun, unsigned frames,
    9292    unsigned channels, unsigned sample_rate, pcm_sample_format_t format)
    9393{
     
    9696}
    9797
    98 static int sb_stop_playback(ddf_fun_t *fun, bool immediate)
     98static errno_t sb_stop_playback(ddf_fun_t *fun, bool immediate)
    9999{
    100100        return sb_dsp_stop_playback(fun_to_dsp(fun), immediate);
    101101}
    102102
    103 static int sb_start_capture(ddf_fun_t *fun, unsigned frames,
     103static errno_t sb_start_capture(ddf_fun_t *fun, unsigned frames,
    104104    unsigned channels, unsigned sample_rate, pcm_sample_format_t format)
    105105{
     
    108108}
    109109
    110 static int sb_stop_capture(ddf_fun_t *fun, bool immediate)
     110static errno_t sb_stop_capture(ddf_fun_t *fun, bool immediate)
    111111{
    112112        return sb_dsp_stop_capture(fun_to_dsp(fun), immediate);
Note: See TracChangeset for help on using the changeset viewer.