Debian Codegraph @

plugins/libmp3lamebin_audioenc/fillplugins.h

raw symbols SCIP
1 #ifndef MP3LAMEBIN_FILLPLUGINS_H
2 #define MP3LAMEBIN_FILLPLUGINS_H
3
4 #include "infotypes.h"
5
6 AVM_BEGIN_NAMESPACE;
7
8 static void mp3lamebin_FillPlugins(avm::vector<CodecInfo>& ci)
9 {
10 const fourcc_t mp3_codecs[] = { 0x55, 0 };
11 const char* const stereo_opt[] = {
12 "stereo",
13 "joint",
14 "dual",
15 0
16 };
17 avm::vector<AttributeInfo> ea;
18 ea.push_back(AttributeInfo("VBR", "VBR audio", AttributeInfo::Integer, 0, 1));
19 ea.push_back(AttributeInfo("stereo_mode", "Stereo mode", stereo_opt));
20
21 ci.push_back(CodecInfo(mp3_codecs, "Lame MPEG layer-3 encoder (runtime)", "",
22 "Open-source MPEG layer-3 encoder, based on your "
23 "currently installed libmp3lame library",
24 CodecInfo::Plugin, "mp3lamebin", CodecInfo::Audio,
25 CodecInfo::Encode, 0, ea));
26 }
27
28 AVM_END_NAMESPACE;
29
30 #endif // MP3LAMEBIN_FILLPLUGINS_H