Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
25
Src/Plugins/Encoder/enc_fhgaac/MP4Writer.h
Normal file
25
Src/Plugins/Encoder/enc_fhgaac/MP4Writer.h
Normal file
|
@ -0,0 +1,25 @@
|
|||
#pragma once
|
||||
|
||||
#include <mp4.h>
|
||||
#include "mp4FastAAClib.h"
|
||||
#include "config.h"
|
||||
|
||||
class MP4Writer
|
||||
{
|
||||
public:
|
||||
MP4Writer();
|
||||
~MP4Writer();
|
||||
|
||||
void AddAudioTrack(const HANDLE_MPEG4ENC_ENCODER encoder, const MPEG4ENC_SETUP *setup);
|
||||
void WriteGaps(uint32_t pregap, uint32_t postgap, uint64_t totalSamples);
|
||||
void WriteTool(const char *tool);
|
||||
void Write(const void *buf, size_t size, MP4Duration duration);
|
||||
void CloseTo(const wchar_t *filename);
|
||||
|
||||
bool OK() { return true; }
|
||||
|
||||
MP4TrackId mp4Track;
|
||||
MP4FileHandle mp4File;
|
||||
wchar_t tempfile[MAX_PATH];
|
||||
};
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue