On Fri, Mar 28, 2008 at 08:11:32PM +0100, Bartlomiej Wolowiec wrote:
On piątek, 28 marca 2008, Michael Niedermayer wrote:
There are 3 types in EAC3 Type 0: always start a frame and may or may not have further parts following Type 1: never start a frame and may or may not have further parts following Type 2: always start a frame and never have further parts following
That is
|T0 | T0 T1 | T0 T1 T1 ... T1 | T2 |
are all and the only valid combinations accoriding to my spec
I cannot map this to your code at all
[...]
You're right I forgot about frames EAC3_STREAM_TYPE_AC3_CONVERT type, which should be given FRAME_COMPLETE flag
-- Bartlomiej Wolowiec
[...]
+typedef enum{ + /** finishes portions of data */ + FRAME_COMPLETE, + /** starts portions of data + * (if there are any frames in the buffer they're send) */ + FRAME_START, + /** continues portions of data (adds them to buffer) */ + FRAME_CONTINUATION +}AACAC3FrameFlag;
Please use: Complete frame, ends previous frame Frame start, ends previous frame Part of the previous frame And patch ok [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB it is not once nor twice but times without number that the same ideas make their appearance in the world. -- Aristotle