pcm_format: pass struct pcm_dither_24 to pcm_convert_to_16()

The function does not need the full pcm_convert_state struct.
This commit is contained in:
Max Kellermann
2009-01-07 18:19:22 +01:00
parent df30a29391
commit 8b19c74e8e
3 changed files with 6 additions and 6 deletions

View File

@@ -22,10 +22,10 @@
#include <stdint.h>
#include <stddef.h>
struct pcm_convert_state;
struct pcm_dither_24;
const int16_t *
pcm_convert_to_16(struct pcm_convert_state *convert,
pcm_convert_to_16(struct pcm_dither_24 *dither,
uint8_t bits, const void *src,
size_t src_size, size_t *dest_size_r);