Skip to content
Snippets Groups Projects
Commit 75e25f85 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

swr: add reversefill_audiodata()

parent 5027e3da
No related branches found
No related tags found
No related merge requests found
......@@ -384,6 +384,16 @@ static void fill_audiodata(AudioData *out, uint8_t *in_arg [SWR_CH_MAX]){
}
}
static void reversefill_audiodata(AudioData *out, uint8_t *in_arg [SWR_CH_MAX]){
int i;
if(out->planar){
for(i=0; i<out->ch_count; i++)
in_arg[i]= out->ch[i];
}else{
in_arg[0]= out->ch[0];
}
}
/**
*
* out may be equal in.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment