diff options
author | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2007-11-13 20:59:17 +0000 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2007-11-13 20:59:17 +0000 |
commit | 54e6e9fcea08bce3bc2b01fb562a74feafaa52be (patch) | |
tree | 6dffa3245b96c511df5da0052e029b1ed97427f8 /sbc/sbc.c | |
parent | 6d94a5b2e34c55611f2d6ea70c241971e65afc8c (diff) |
Change name of sbc_fill_defaults to sbc_set_defaults.
Diffstat (limited to 'sbc/sbc.c')
-rw-r--r-- | sbc/sbc.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1208,7 +1208,7 @@ struct sbc_priv { struct sbc_encoder_state enc_state; }; -static void sbc_fill_defaults(sbc_t *sbc, unsigned long flags) +static void sbc_set_defaults(sbc_t *sbc, unsigned long flags) { sbc->rate = 44100; sbc->channels = 2; @@ -1232,7 +1232,7 @@ int sbc_init(sbc_t *sbc, unsigned long flags) memset(sbc->priv, 0, sizeof(struct sbc_priv)); - sbc_fill_defaults(sbc, flags); + sbc_set_defaults(sbc, flags); return 0; } @@ -1421,7 +1421,7 @@ int sbc_reinit(sbc_t *sbc, unsigned long flags) if (priv->init == 1) memset(sbc->priv, 0, sizeof(struct sbc_priv)); - sbc_fill_defaults(sbc, flags); + sbc_set_defaults(sbc, flags); return 0; } |