aboutsummaryrefslogtreecommitdiffstats
path: root/src/encoder/twolame_encoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/encoder/twolame_encoder.c')
-rw-r--r--src/encoder/twolame_encoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encoder/twolame_encoder.c b/src/encoder/twolame_encoder.c
index cddf5773e..e7af89bf6 100644
--- a/src/encoder/twolame_encoder.c
+++ b/src/encoder/twolame_encoder.c
@@ -192,7 +192,7 @@ twolame_encoder_open(struct encoder *_encoder, struct audio_format *audio_format
{
struct twolame_encoder *encoder = (struct twolame_encoder *)_encoder;
- audio_format->bits = 16;
+ audio_format->format = SAMPLE_FORMAT_S16;
audio_format->channels = 2;
encoder->audio_format = *audio_format;