Changeset d86c9736 in mainline for uspace/drv/audio/sb16/pcm_iface.c


Ignore:
Timestamp:
2012-08-19T14:35:32Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fa91c0f
Parents:
ad42844
Message:

Rename record → capture.

File:
1 edited

Legend:

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

    rad42844 rd86c9736  
    104104}
    105105
    106 static int sb_start_record(ddf_fun_t *fun, unsigned frames,
     106static int sb_start_capture(ddf_fun_t *fun, unsigned frames,
    107107    unsigned channels, unsigned sample_rate, pcm_sample_format_t format)
    108108{
     
    110110        assert(fun->driver_data);
    111111        sb_dsp_t *dsp = fun->driver_data;
    112         return sb_dsp_start_record(
     112        return sb_dsp_start_capture(
    113113            dsp, frames, channels, sample_rate, format);
    114114}
    115115
    116 static int sb_stop_record(ddf_fun_t *fun)
     116static int sb_stop_capture(ddf_fun_t *fun)
    117117{
    118118        assert(fun);
    119119        assert(fun->driver_data);
    120120        sb_dsp_t *dsp = fun->driver_data;
    121         return sb_dsp_stop_record(dsp);
     121        return sb_dsp_stop_capture(dsp);
    122122}
    123123
     
    134134        .stop_playback = sb_stop_playback,
    135135
    136         .start_record = sb_start_record,
    137         .stop_record = sb_stop_record
     136        .start_capture = sb_start_capture,
     137        .stop_capture = sb_stop_capture,
    138138};
    139139/**
Note: See TracChangeset for help on using the changeset viewer.