summaryrefslogtreecommitdiffstats
path: root/sbc/sbc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbc/sbc.c')
-rw-r--r--sbc/sbc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbc/sbc.c b/sbc/sbc.c
index ce6252df..d485a5fd 100644
--- a/sbc/sbc.c
+++ b/sbc/sbc.c
@@ -1374,7 +1374,7 @@ int sbc_encode(sbc_t *sbc, void *data, int count)
} else
priv->frame.channel_mode = MONO;
- priv->frame.allocation_method = SNR;
+ priv->frame.allocation_method = sbc->allocation;
priv->frame.subbands = sbc->subbands;
priv->frame.blocks = sbc->blocks;
priv->frame.bitpool = sbc->bitpool;