Correct the decimator sample latency
The latency is half of the FIFO, or half the filter size, and each byte is 8 samples, so return the value accordingly. Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
parent
555b9f248d
commit
24a3209682
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ static void dsd2pcm_reset(void *_state) {
|
|||
static int dsd2pcm_latency(void *_state) {
|
||||
struct dsd2pcm_state *state = (struct dsd2pcm_state *)_state;
|
||||
if(state)
|
||||
return state->FIFO_LENGTH;
|
||||
return state->FILT_LOOKUP_PARTS * 8;
|
||||
else
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue