File indexing completed on 2024-06-16 07:42:33

0001 /*
0002     SPDX-FileCopyrightText: 1998-2008 Sebastian Trueg <trueg@k3b.org>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #include <config-k3b.h>
0008 
0009 #include "k3b<name>decoder.h"
0010 
0011 K3B_EXPORT_PLUGIN(k3b<name>decoder, K3b<name>DecoderFactory)
0012 
0013 K3b<name>DecoderFactory::K3b<name>DecoderFactory( QObject* parent, const QVariantList& )
0014     : K3b::AudioDecoderFactory( parent )
0015 {
0016 }
0017 
0018 
0019 K3b<name>DecoderFactory::~K3b<name>DecoderFactory()
0020 {
0021 }
0022 
0023 
0024 K3b::AudioDecoder* K3b<name>DecoderFactory::createDecoder( QObject* parent,
0025     ) const
0026 {
0027     return new K3b<name>Decoder( parent, name );
0028 }
0029 
0030 
0031 bool K3b<name>DecoderFactory::canDecode( const QUrl& url )
0032 {
0033     // PUT YOUR CODE HERE
0034     return false;
0035 }
0036 
0037 
0038 
0039 
0040 
0041 
0042 K3b<name>Decoder::K3b<name>Decoder( QObject* parent,  )
0043     : K3b::AudioDecoder( parent, name )
0044 {
0045 }
0046 
0047 
0048 K3b<name>Decoder::~K3b<name>Decoder()
0049 {
0050 }
0051 
0052 
0053 QString K3b<name>Decoder::fileType() const
0054 {
0055     // PUT YOUR CODE HERE
0056 }
0057 
0058 
0059 bool K3b<name>Decoder::analyseFileInternal( K3b::Msf& frames, int& samplerate, int& ch )
0060 {
0061     // PUT YOUR CODE HERE
0062     // call addTechnicalInfo and addMetaInfo here
0063     return false;
0064 }
0065 
0066 
0067 bool K3b<name>Decoder::initDecoderInternal()
0068 {
0069     // PUT YOUR CODE HERE
0070     return false;
0071 }
0072 
0073 
0074 bool K3b<name>Decoder::seekInternal( const K3b::Msf& )
0075 {
0076     // PUT YOUR CODE HERE
0077     return false;
0078 }
0079 
0080 
0081 int K3b<name>Decoder::decodeInternal( char* _data, int maxLen )
0082 {
0083     // PUT YOUR CODE HERE
0084     return -1;
0085 }
0086 
0087 
0088 #include "k3b<name>decoder.moc"
0089 
0090 #include "moc_skeleton.cpp"