整理代码

This commit is contained in:
蒲爽 2026-09-28 21:33:04 +08:00
commit c7b4e178ec
364 changed files with 59691 additions and 0 deletions

View file

@ -0,0 +1,32 @@
/*
*******************************************************************************
* INCLUDE
*******************************************************************************
*/
#include "AudioComponent.h"
namespace Video
{
namespace Core
{
/*
*******************************************************************************
* CLASS DEFINE
*******************************************************************************
*/
AudioComponent::AudioComponent(const std::string& name): Component(name)
{
setSampleRate(48000);
setChannelLayout(ChannelLayout::STEREO);
setSampleFormat(SampleFormat::S16P);
setFrameSize(1024);
setGain(0);
setPTSOffset(0);
setSignalLost(true);
}
AudioComponent::~AudioComponent()
{
}
}
}