annotate libmpcodecs/ae_toolame.h @ 14236:2dc4595c3998

fix stream selection and -bandwidth for mms-over-http. Modifies header parsing to do a brute-force scan for known guids, to avoid having to analyze and parse the whole property-tree structure.
author reimar
date Sat, 25 Dec 2004 11:31:32 +0000
parents a87f1a948a24
children e84a6ae9d51e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13425
a87f1a948a24 encoding to mp2 with libtoolame - only cbr atm
nicodvb
parents:
diff changeset
1 #ifndef MPAE_TOOLAME_H
a87f1a948a24 encoding to mp2 with libtoolame - only cbr atm
nicodvb
parents:
diff changeset
2 #define MPAE_TOOLAME_H
a87f1a948a24 encoding to mp2 with libtoolame - only cbr atm
nicodvb
parents:
diff changeset
3
a87f1a948a24 encoding to mp2 with libtoolame - only cbr atm
nicodvb
parents:
diff changeset
4 #include <toolame.h>
a87f1a948a24 encoding to mp2 with libtoolame - only cbr atm
nicodvb
parents:
diff changeset
5
a87f1a948a24 encoding to mp2 with libtoolame - only cbr atm
nicodvb
parents:
diff changeset
6 typedef struct {
a87f1a948a24 encoding to mp2 with libtoolame - only cbr atm
nicodvb
parents:
diff changeset
7 toolame_options *toolame_ctx;
a87f1a948a24 encoding to mp2 with libtoolame - only cbr atm
nicodvb
parents:
diff changeset
8 int channels, srate, bitrate;
a87f1a948a24 encoding to mp2 with libtoolame - only cbr atm
nicodvb
parents:
diff changeset
9 int16_t left_pcm[1152], right_pcm[1152];
a87f1a948a24 encoding to mp2 with libtoolame - only cbr atm
nicodvb
parents:
diff changeset
10 } mpae_toolame_ctx;
a87f1a948a24 encoding to mp2 with libtoolame - only cbr atm
nicodvb
parents:
diff changeset
11
a87f1a948a24 encoding to mp2 with libtoolame - only cbr atm
nicodvb
parents:
diff changeset
12 mpae_toolame_ctx *mpae_init_toolame(int channels, int srate);
a87f1a948a24 encoding to mp2 with libtoolame - only cbr atm
nicodvb
parents:
diff changeset
13 int mpae_encode_toolame(mpae_toolame_ctx *ctx, uint8_t *dest, int nsamples, void *src, int max_size);
a87f1a948a24 encoding to mp2 with libtoolame - only cbr atm
nicodvb
parents:
diff changeset
14
a87f1a948a24 encoding to mp2 with libtoolame - only cbr atm
nicodvb
parents:
diff changeset
15 #endif