annotate libmpcodecs/ae_twolame.h @ 29896:ac3e6e27f2c7

Use calloc to allocate a rather large (currently 32k) array instead of putting it on the stack, performance should not matter much here.
author reimar
date Fri, 20 Nov 2009 23:36:16 +0000
parents 4129c8cfa742
children bbb6ebec87a0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25869
diff changeset
1 #ifndef MPLAYER_AE_TWOLAME_H
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25869
diff changeset
2 #define MPLAYER_AE_TWOLAME_H
15359
af245d15f502 added twolame mp2 audio encoder
nicodvb
parents:
diff changeset
3
af245d15f502 added twolame mp2 audio encoder
nicodvb
parents:
diff changeset
4 #include "ae.h"
af245d15f502 added twolame mp2 audio encoder
nicodvb
parents:
diff changeset
5 #include <twolame.h>
af245d15f502 added twolame mp2 audio encoder
nicodvb
parents:
diff changeset
6
af245d15f502 added twolame mp2 audio encoder
nicodvb
parents:
diff changeset
7 typedef struct {
af245d15f502 added twolame mp2 audio encoder
nicodvb
parents:
diff changeset
8 twolame_options *twolame_ctx;
af245d15f502 added twolame mp2 audio encoder
nicodvb
parents:
diff changeset
9 int vbr;
af245d15f502 added twolame mp2 audio encoder
nicodvb
parents:
diff changeset
10 } mpae_twolame_ctx;
af245d15f502 added twolame mp2 audio encoder
nicodvb
parents:
diff changeset
11
af245d15f502 added twolame mp2 audio encoder
nicodvb
parents:
diff changeset
12 int mpae_init_twolame(audio_encoder_t *encoder);
af245d15f502 added twolame mp2 audio encoder
nicodvb
parents:
diff changeset
13
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25869
diff changeset
14 #endif /* MPLAYER_AE_TWOLAME_H */