• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • arts
 

arts

  • arts
  • kde
kaudioconverter.h
1  /*
2 
3  Copyright (C) 2002 Nikolas Zimmermann <wildfox@kde.org>
4 
5  This library is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Library General Public
7  License as published by the Free Software Foundation; either
8  version 2 of the License, or (at your option) any later version.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Library General Public License for more details.
14 
15  You should have received a copy of the GNU Library General Public License
16  along with this library; see the file COPYING.LIB. If not, write to
17  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  Boston, MA 02110-1301, USA.
19 
20  */
21 
22 #ifndef KAUDIOCONVERTER_H
23 #define KAUDIOCONVERTER_H
24 
25 #include <tqobject.h>
26 #include "artskde.h"
27 #include "kplayobject.h"
28 
29 class KURL;
30 class TQString;
31 
32 class KAudioConverter : public TQObject
33 {
34 TQ_OBJECT
35 public:
36  KAudioConverter();
37  ~KAudioConverter();
38 
39  bool setup(int samplingRate);
40  void requestPlayObject(const KURL &url);
41 
42  void start();
43  void stop();
44 
45 signals:
46  void rawStreamStart();
47 
48  void newBlockSize(long blockSize);
49  void newBlockPointer(long blockPointer);
50  void newData();
51 
52  void rawStreamFinished();
53 
54 private slots:
55  void slotMimeType(const TQString &mimeType);
56 
57 private:
58  Arts::KDataRequest m_request;
59  KPlayObject *m_incoming;
60  TQString m_mimeType;
61 
62  bool m_started;
63 };
64 
65 #endif
KURL

arts

Skip menu "arts"
  • Main Page
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

arts

Skip menu "arts"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for arts by doxygen 1.9.1
This website is maintained by Timothy Pearson.