Changeset 346643c in mainline for uspace/drv/audio/sb16/pcm_iface.c
- Timestamp:
- 2012-07-11T12:05:30Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 039337e8
- Parents:
- 94694a4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/audio/sb16/pcm_iface.c
r94694a4 r346643c 36 36 #include <errno.h> 37 37 #include <audio_pcm_iface.h> 38 #include <pcm_sample_format.h> 38 39 39 40 #include "dsp.h" … … 71 72 72 73 static int sb_start_playback(ddf_fun_t *fun, unsigned id, unsigned parts, 73 unsigned sample_rate, unsigned sample_size, unsigned channels, bool sign)74 unsigned channels, unsigned sample_rate, pcm_sample_format_t format) 74 75 { 75 76 assert(fun); … … 77 78 sb_dsp_t *dsp = fun->driver_data; 78 79 return sb_dsp_start_playback( 79 dsp, id, parts, sample_rate, sample_size, channels, sign);80 dsp, id, parts, channels, sample_rate, format); 80 81 } 81 82 … … 89 90 90 91 static int sb_start_record(ddf_fun_t *fun, unsigned id, unsigned parts, 91 unsigned sample_rate, unsigned sample_size, unsigned channels, bool sign)92 unsigned channels, unsigned sample_rate, pcm_sample_format_t format) 92 93 { 93 94 assert(fun); … … 95 96 sb_dsp_t *dsp = fun->driver_data; 96 97 return sb_dsp_start_record( 97 dsp, id, parts, sample_rate, sample_size, channels, sign);98 dsp, id, parts, channels, sample_rate, format); 98 99 } 99 100
Note:
See TracChangeset
for help on using the changeset viewer.