39 #include <QToolButton>
45 #ifndef _DCC_VOICE_CPP_
49 #define KVI_DCC_VOICE_THREAD_ACTION_START_RECORDING 0
50 #define KVI_DCC_VOICE_THREAD_ACTION_STOP_RECORDING 1
51 #define KVI_DCC_VOICE_THREAD_ACTION_START_PLAYING 2
52 #define KVI_DCC_VOICE_THREAD_ACTION_STOP_PLAYING 3
129 virtual const QString &
target();
134 virtual bool event(QEvent *
e);
int kvi_socket_t
Definition: kvi_sockettype.h:40
Toolkit Abstraction Layer: hbox class.
Definition: KviTalHBox.h:44
Definition: DccVoiceWindow.h:63
void stopTalking()
Definition: DccVoiceWindow.cpp:995
bool soundStep()
Definition: DccVoiceWindow.cpp:379
int m_soundFd
Definition: DccVoiceWindow.h:74
Definition: KviCString.h:105
void closeSoundcard()
Definition: DccVoiceWindow.cpp:300
DccVoiceThread(KviWindow *wnd, kvi_socket_t fd, KviDccVoiceThreadOptions *opt)
Definition: DccVoiceWindow.cpp:120
Class for horizontal box.
QSlider * m_pVolumeSlider
Definition: DccVoiceWindow.h:117
Definition: DccVoiceWindow.h:108
virtual QPixmap * myIconPtr()
Definition: DccVoiceWindow.cpp:855
~DccVoiceWindow()
Definition: DccVoiceWindow.cpp:763
int m_iInputBufferSize
Definition: DccVoiceWindow.h:89
Definition: DccWindow.h:34
virtual void run()
Definition: DccVoiceWindow.cpp:631
QToolButton * m_pTalkButton
Definition: DccVoiceWindow.h:122
~DccVoiceThread()
Definition: DccVoiceWindow.cpp:135
DccVoiceThread * m_pSlaveThread
Definition: DccVoiceWindow.h:125
bool checkSoundcard()
Definition: DccVoiceWindow.cpp:144
QLabel * m_pOutputLabel
Definition: DccVoiceWindow.h:119
virtual const QString & target()
Definition: DccVoiceWindow.cpp:833
Definition: KviDataBuffer.h:30
bool readWriteStep()
Definition: DccVoiceWindow.cpp:312
void startConnection()
Definition: DccVoiceWindow.cpp:778
Definition: KviThread.h:146
void handleMarshalError(KviError::Code eError)
Definition: DccVoiceWindow.cpp:949
bool openSoundcardWithDuplexOption(int openMode, int failMode)
Definition: DccVoiceWindow.cpp:254
DccVoiceWindow(DccDescriptor *dcc, const char *name)
Definition: DccVoiceWindow.cpp:691
#define e
Definition: detector.cpp:69
virtual QSize sizeHint() const
Definition: DccVoiceWindow.cpp:941
virtual bool event(QEvent *e)
Definition: DccVoiceWindow.cpp:860
bool m_bRecordingRequestPending
Definition: DccVoiceWindow.h:82
int iSampleRate
Definition: DccVoiceWindow.h:58
Definition: DccMarshal.h:56
DccVoiceCodec * pCodec
Definition: DccVoiceWindow.h:60
Definition: DccDescriptor.h:33
Definition: DccThread.h:55
bool openSoundcard(int mode)
Definition: DccVoiceWindow.cpp:182
void startRecording()
Definition: DccVoiceWindow.cpp:556
Code
Contains all error codes.
Definition: KviError.h:47
QTimer * m_pUpdateTimer
Definition: DccVoiceWindow.h:123
int iPreBufferSize
Definition: DccVoiceWindow.h:57
void startOrStopTalking(bool bStart)
Definition: DccVoiceWindow.cpp:1009
int getMixerVolume(void) const
Definition: DccVoiceWindow.cpp:1017
virtual void getBaseLogFileName(QString &buffer)
Definition: DccVoiceWindow.cpp:841
void stopPlaying()
Definition: DccVoiceWindow.cpp:614
QLabel * m_pPlayingLabel
Definition: DccVoiceWindow.h:121
int m_iOutputBufferSize
Definition: DccVoiceWindow.h:90
KviDataBuffer m_inSignalBuffer
Definition: DccVoiceWindow.h:78
KviDataBuffer m_outFrameBuffer
Definition: DccVoiceWindow.h:76
bool m_bRecording
Definition: DccVoiceWindow.h:81
virtual void focusInEvent(QFocusEvent *)
Definition: DccVoiceWindow.cpp:1071
bool m_bSoundcardChecked
Definition: DccVoiceWindow.h:83
Definition: DccVoiceCodec.h:35
Base class for all windows in KVIrc.
Definition: KviWindow.h:74
int m_iLastSignalBufferSize
Definition: DccVoiceWindow.h:84
void connected()
Definition: DccVoiceWindow.cpp:959
struct _KviDccVoiceThreadOptions KviDccVoiceThreadOptions
bool kvi_dcc_voice_is_valid_codec(const char *codecName)
Definition: DccVoiceWindow.cpp:89
int m_soundFdMode
Definition: DccVoiceWindow.h:75
bool openSoundcardForWriting()
Definition: DccVoiceWindow.cpp:236
void updateInfo()
Definition: DccVoiceWindow.cpp:919
void startPlaying()
Definition: DccVoiceWindow.cpp:597
void connectionInProgress()
Definition: DccVoiceWindow.cpp:798
QLabel * m_pRecordingLabel
Definition: DccVoiceWindow.h:120
KviCString szSoundDevice
Definition: DccVoiceWindow.h:59
bool bForceHalfDuplex
Definition: DccVoiceWindow.h:56
void startTalking()
Definition: DccVoiceWindow.cpp:1002
void stopRecording()
Definition: DccVoiceWindow.cpp:579
QString name()
Definition: KviRuntimeInfo.cpp:655
long m_iLastSignalBufferTime
Definition: DccVoiceWindow.h:85
Contains the KviWindow class.
Definition: DccVoiceWindow.h:54
KviDataBuffer m_inFrameBuffer
Definition: DccVoiceWindow.h:77
virtual void fillCaptionBuffers()
Definition: DccVoiceWindow.cpp:846
void setMixerVolume(int)
Definition: DccVoiceWindow.cpp:1048
QString m_szTarget
Definition: DccVoiceWindow.h:124
KviDccVoiceThreadOptions * m_pOpt
Definition: DccVoiceWindow.h:73
QLabel * m_pInputLabel
Definition: DccVoiceWindow.h:118
bool openSoundcardForReading()
Definition: DccVoiceWindow.cpp:245
KviTalHBox * m_pHBox
Definition: DccVoiceWindow.h:116
virtual void resizeEvent(QResizeEvent *e)
Definition: DccVoiceWindow.cpp:934
KviDataBuffer m_outSignalBuffer
Definition: DccVoiceWindow.h:79
KviMutex * m_pInfoMutex
Definition: DccVoiceWindow.h:87
bool m_bPlaying
Definition: DccVoiceWindow.h:80