annotate libmpcodecs/ae_toolame.h @ 29799:8867109cf6f6
Split assignment from error value check to avoid overcomplicated if () condition.
author |
reimar |
date |
Fri, 06 Nov 2009 16:10:19 +0000 |
parents |
4129c8cfa742 |
children |
bbb6ebec87a0 |
rev |
line source |
26029
|
1 #ifndef MPLAYER_AE_TOOLAME_H
|
|
2 #define MPLAYER_AE_TOOLAME_H
|
13425
|
3
|
15234
|
4 #include "ae.h"
|
13425
|
5 #include <toolame.h>
|
|
6
|
|
7 typedef struct {
|
|
8 toolame_options *toolame_ctx;
|
|
9 int channels, srate, bitrate;
|
15265
|
10 int vbr;
|
13425
|
11 int16_t left_pcm[1152], right_pcm[1152];
|
|
12 } mpae_toolame_ctx;
|
|
13
|
15234
|
14 int mpae_init_toolame(audio_encoder_t *encoder);
|
13425
|
15
|
26029
|
16 #endif /* MPLAYER_AE_TOOLAME_H */
|