diff options
-rw-r--r-- | sbc/sbc.c | 2 | ||||
-rw-r--r-- | sbc/sbc.h | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -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; @@ -36,6 +36,7 @@ struct sbc_struct { int rate; int channels; int joint; + int allocation; int blocks; int subbands; int bitpool; |