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
Q_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
arts
Skip menu "arts"
Main Page
Alphabetical List
Class List
File List
Class Members
arts
Skip menu "arts"
arts
dcop
dnssd
interfaces
interface
library
kspeech
ktexteditor
kabc
kate
kcmshell
kdecore
kded
kdefx
kdeprint
kdesu
kdeui
kdoctools
khtml
kimgio
kinit
kio
bookmarks
httpfilter
kfile
kio
kioexec
kpasswdserver
kssl
kioslave
http
kjs
kmdi
kmdi
knewstuff
kparts
krandr
kresources
kspell2
kunittest
kutils
kwallet
libkmid
libkscreensaver