From 46e860574f3d6d70d961e38270522764191cea20 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Sat, 11 Aug 2007 10:56:46 +0000 Subject: Don't hardcode allocation method to SNR --- sbc/sbc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sbc/sbc.c') 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; -- cgit