X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=futatabi%2Fframe.proto;h=a0cc392944029cba0c1a674cd726e6b1de5ac5fd;hb=refs%2Fheads%2Fmaster;hp=c8807fde35c0e4dd4425281dc56fbe9399a95ece;hpb=9b7d691b4cc5db7dbfc18c82e86c1207fcac4722;p=nageru diff --git a/futatabi/frame.proto b/futatabi/frame.proto index c8807fd..a0cc392 100644 --- a/futatabi/frame.proto +++ b/futatabi/frame.proto @@ -11,6 +11,7 @@ message FrameHeaderProto { int32 stream_idx = 1; int64 pts = 2; int64 file_size = 3; // In bytes of compressed frame. TODO: rename to size. + int32 audio_size = 4; // In bytes of uncompressed 32-bit 48kHz stereo PCM. Can be zero. } message StreamContentsProto { @@ -18,6 +19,7 @@ message StreamContentsProto { repeated int64 pts = 2 [packed=true]; repeated int64 file_size = 3 [packed=true]; repeated int64 offset = 4 [packed=true]; + repeated int32 audio_size = 5 [packed=true]; } message FileContentsProto {