Commit 4b894f66 authored by Mans Rullgard's avatar Mans Rullgard

mqarender: update to new bluos api

parent 7dfb7b1e
......@@ -32,7 +32,8 @@ void ssc_decode_close(struct ssc_decode *);
struct ssc_render;
int ssc_render_init(struct ssc_render **rend,
const snd_pcm_rate_info_t *info);
const snd_pcm_rate_info_t *info,
int mapping, int *chmap);
void ssc_render(struct ssc_render *rend,
const snd_pcm_channel_area_t *dst_areas,
int dst_offset, int dst_frames,
......
......@@ -153,7 +153,7 @@ int main(int argc, char **argv)
ri.out.buffer_size = outbuf_size;
ri.out.period_size = outbuf_size;
if (ssc_render_init(&rend, &ri) < 0) {
if (ssc_render_init(&rend, &ri, 0, NULL) < 0) {
fprintf(stderr, "ssc_render_init failed\n");
return 1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment