123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- /*\
- |*| Copyright 2015 bill-auger <https://github.com/bill-auger/av-caster/issues>
- |*|
- |*| This file is part of the AvCaster program.
- |*|
- |*| AvCaster is free software: you can redistribute it and/or modify
- |*| it under the terms of the GNU Lesser General Public License version 3
- |*| as published by the Free Software Foundation.
- |*|
- |*| AvCaster is distributed in the hope that it will be useful,
- |*| but WITHOUT ANY WARRANTY; without even the implied warranty of
- |*| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- |*| GNU Lesser General Public License for more details.
- |*|
- |*| You should have received a copy of the GNU Lesser General Public License
- |*| along with AvCaster. If not, see <http://www.gnu.org/licenses/>.
- \*/
- #ifndef _PRESETSEED_H_
- #define _PRESETSEED_H_
- #include "Constants.h"
- class PresetSeed
- {
- protected:
- PresetSeed() ;
- void createPreset() ;
- // node ID
- Identifier presetId ;
- // control params
- String presetName ;
- bool isScreencapActive ;
- bool isCameraActive ;
- bool isTextActive ;
- bool isImageActive ;
- bool isPreviewActive ;
- bool isAudioActive ;
- bool isOutputActive ;
- // screencap params
- int displayN ;
- int screenN ;
- int screencapW ;
- int screencapH ;
- int offsetX ;
- int offsetY ;
- // camera params
- int cameraResolutionIdx ;
- int cameraDeviceIdx ;
- // audio params
- int audioApiIdx ;
- int audioDeviceIdx ;
- int audioCodecIdx ;
- int nChannels ;
- int samplerate ;
- int audioBitrate ;
- // text params
- String motdText ;
- int textStyleIdx ;
- int textPosIdx ;
- // interstitial params
- String imageLocation ;
- // output params
- int sinkIdx ;
- int muxerIdx ;
- int outputW ;
- int outputH ;
- int framerate ;
- int videoBitrate ;
- String outputDest ;
- public:
- // AvCasterStore->configPresets child node
- ValueTree preset ;
- } ;
- class FilePresetSeed : public PresetSeed { public: FilePresetSeed() ; } ;
- class RtmpPresetSeed : public PresetSeed { public: RtmpPresetSeed() ; } ;
- class LctvPresetSeed : public PresetSeed { public: LctvPresetSeed() ; } ;
- #endif // _PRESETSEED_H_
|