mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-28 20:25:34 +08:00
Formatting
This commit is contained in:
committed by
Mathew Sutcliffe
parent
d96a9a9fa2
commit
d2d44085ba
@@ -40,6 +40,7 @@ namespace BlackCore
|
||||
class IAudioInputDevice;
|
||||
class IAudioOutputDevice;
|
||||
class IVoiceChannel;
|
||||
|
||||
namespace Vatsim
|
||||
{
|
||||
//! Vatlib implementation of the IVoice interface.
|
||||
@@ -90,14 +91,12 @@ namespace BlackCore
|
||||
//! \copydoc IVoice::disconnectVoice()
|
||||
void disconnectVoice(IAudioMixer *mixer, IAudioMixer::OutputPort outputPort) override;
|
||||
|
||||
protected: // QObject overrides
|
||||
|
||||
protected:
|
||||
//! Process voice lib
|
||||
virtual void timerEvent(QTimerEvent *) override;
|
||||
|
||||
private:
|
||||
|
||||
// this struct calls "myCustomDeallocator" to delete the pointer
|
||||
//! this struct calls Vat_DestroyAudioService to delete the pointer
|
||||
struct VatAudioServiceDeleter
|
||||
{
|
||||
static inline void cleanup(VatAudioService_tag *obj)
|
||||
@@ -106,6 +105,7 @@ namespace BlackCore
|
||||
}
|
||||
};
|
||||
|
||||
//! this struct calls Vat_DestroyUDPAudioPort to delete the pointer
|
||||
struct VatUDPAudioPortDeleter
|
||||
{
|
||||
static inline void cleanup(VatUDPAudioPort_tag *obj)
|
||||
@@ -118,7 +118,6 @@ namespace BlackCore
|
||||
|
||||
QScopedPointer<VatAudioService_tag, VatAudioServiceDeleter> m_audioService;
|
||||
QScopedPointer<VatUDPAudioPort_tag, VatUDPAudioPortDeleter> m_udpPort;
|
||||
|
||||
};
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user