annotate libmpcodecs/ae_twolame.h @ 25194:e816d546c4fe

ao_null: Make duration of "buffered" audio constant Choose the "buffer size" for the amount of audio the driver accepts so that it corresponds to about 0.2 seconds of playback based on the number of channels, sample size and samplerate.
author uau
date Sat, 01 Dec 2007 01:39:39 +0000
parents af245d15f502
children 3baf6a2283da
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15359
af245d15f502 added twolame mp2 audio encoder
nicodvb
parents:
diff changeset
1 #ifndef MPAE_TWOLAME_H
af245d15f502 added twolame mp2 audio encoder
nicodvb
parents:
diff changeset
2 #define MPAE_TWOLAME_H
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
af245d15f502 added twolame mp2 audio encoder
nicodvb
parents:
diff changeset
14 #endif