diff options
author | Max Kellermann <max@duempel.org> | 2012-03-01 00:59:53 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-03-01 00:59:53 +0100 |
commit | 3b565b5f972ad65ab3e498c29eaf4f825eacece4 (patch) | |
tree | 174eaba9a3e5f1d79975eb388dc0831808f9027e /src/pcm_convert.h | |
parent | 07429761382dc2dfc277bacf8b897a0d51402ab8 (diff) | |
download | mpd-3b565b5f972ad65ab3e498c29eaf4f825eacece4.tar.gz mpd-3b565b5f972ad65ab3e498c29eaf4f825eacece4.tar.xz mpd-3b565b5f972ad65ab3e498c29eaf4f825eacece4.zip |
pcm_convert: add method _reset()
Resets the libsamplerate state. Not being used yet.
Diffstat (limited to 'src/pcm_convert.h')
-rw-r--r-- | src/pcm_convert.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/pcm_convert.h b/src/pcm_convert.h index 6dbd7541b..41a9f9380 100644 --- a/src/pcm_convert.h +++ b/src/pcm_convert.h @@ -67,6 +67,13 @@ void pcm_convert_init(struct pcm_convert_state *state); void pcm_convert_deinit(struct pcm_convert_state *state); /** + * Reset the pcm_convert_state object. Use this at the boundary + * between two distinct songs and each time the format changes. + */ +void +pcm_convert_reset(struct pcm_convert_state *state); + +/** * Converts PCM data between two audio formats. * * @param state an initialized pcm_convert_state object |