Documentation ¶
Index ¶
- func QAmbientSound_Tr(s string) string
- func QAmbientSound_Tr2(s string, c string) string
- func QAmbientSound_Tr3(s string, c string, n int) string
- func QAudioEngine_Tr(s string) string
- func QAudioEngine_Tr2(s string, c string) string
- func QAudioEngine_Tr3(s string, c string, n int) string
- func QAudioRoom_Tr(s string) string
- func QAudioRoom_Tr2(s string, c string) string
- func QAudioRoom_Tr3(s string, c string, n int) string
- func QSpatialSound_Tr(s string) string
- func QSpatialSound_Tr2(s string, c string) string
- func QSpatialSound_Tr3(s string, c string, n int) string
- type QAmbientSound
- func (this *QAmbientSound) AutoPlay() bool
- func (this *QAmbientSound) AutoPlayChanged()
- func (this *QAmbientSound) Delete()
- func (this *QAmbientSound) Engine() *QAudioEngine
- func (this *QAmbientSound) GoGC()
- func (this *QAmbientSound) Loops() int
- func (this *QAmbientSound) LoopsChanged()
- func (this *QAmbientSound) MetaObject() *qt6.QMetaObject
- func (this *QAmbientSound) Metacast(param1 string) unsafe.Pointer
- func (this *QAmbientSound) OnAutoPlayChanged(slot func())
- func (this *QAmbientSound) OnChildEvent(slot func(super func(event *qt6.QChildEvent), event *qt6.QChildEvent))
- func (this *QAmbientSound) OnConnectNotify(slot func(super func(signal *qt6.QMetaMethod), signal *qt6.QMetaMethod))
- func (this *QAmbientSound) OnCustomEvent(slot func(super func(event *qt6.QEvent), event *qt6.QEvent))
- func (this *QAmbientSound) OnDisconnectNotify(slot func(super func(signal *qt6.QMetaMethod), signal *qt6.QMetaMethod))
- func (this *QAmbientSound) OnEvent(slot func(super func(event *qt6.QEvent) bool, event *qt6.QEvent) bool)
- func (this *QAmbientSound) OnEventFilter(...)
- func (this *QAmbientSound) OnLoopsChanged(slot func())
- func (this *QAmbientSound) OnSourceChanged(slot func())
- func (this *QAmbientSound) OnTimerEvent(slot func(super func(event *qt6.QTimerEvent), event *qt6.QTimerEvent))
- func (this *QAmbientSound) OnVolumeChanged(slot func())
- func (this *QAmbientSound) Pause()
- func (this *QAmbientSound) Play()
- func (this *QAmbientSound) SetAutoPlay(autoPlay bool)
- func (this *QAmbientSound) SetLoops(loops int)
- func (this *QAmbientSound) SetSource(url *qt6.QUrl)
- func (this *QAmbientSound) SetVolume(volume float32)
- func (this *QAmbientSound) Source() *qt6.QUrl
- func (this *QAmbientSound) SourceChanged()
- func (this *QAmbientSound) Stop()
- func (this *QAmbientSound) UnsafePointer() unsafe.Pointer
- func (this *QAmbientSound) Volume() float32
- func (this *QAmbientSound) VolumeChanged()
- type QAmbientSound__Loops
- type QAudioEngine
- func (this *QAudioEngine) Delete()
- func (this *QAudioEngine) DistanceScale() float32
- func (this *QAudioEngine) DistanceScaleChanged()
- func (this *QAudioEngine) GoGC()
- func (this *QAudioEngine) MasterVolume() float32
- func (this *QAudioEngine) MasterVolumeChanged()
- func (this *QAudioEngine) MetaObject() *qt6.QMetaObject
- func (this *QAudioEngine) Metacast(param1 string) unsafe.Pointer
- func (this *QAudioEngine) OnChildEvent(slot func(super func(event *qt6.QChildEvent), event *qt6.QChildEvent))
- func (this *QAudioEngine) OnConnectNotify(slot func(super func(signal *qt6.QMetaMethod), signal *qt6.QMetaMethod))
- func (this *QAudioEngine) OnCustomEvent(slot func(super func(event *qt6.QEvent), event *qt6.QEvent))
- func (this *QAudioEngine) OnDisconnectNotify(slot func(super func(signal *qt6.QMetaMethod), signal *qt6.QMetaMethod))
- func (this *QAudioEngine) OnDistanceScaleChanged(slot func())
- func (this *QAudioEngine) OnEvent(slot func(super func(event *qt6.QEvent) bool, event *qt6.QEvent) bool)
- func (this *QAudioEngine) OnEventFilter(...)
- func (this *QAudioEngine) OnMasterVolumeChanged(slot func())
- func (this *QAudioEngine) OnOutputDeviceChanged(slot func())
- func (this *QAudioEngine) OnOutputModeChanged(slot func())
- func (this *QAudioEngine) OnPausedChanged(slot func())
- func (this *QAudioEngine) OnTimerEvent(slot func(super func(event *qt6.QTimerEvent), event *qt6.QTimerEvent))
- func (this *QAudioEngine) OutputDevice() *multimedia.QAudioDevice
- func (this *QAudioEngine) OutputDeviceChanged()
- func (this *QAudioEngine) OutputMode() QAudioEngine__OutputMode
- func (this *QAudioEngine) OutputModeChanged()
- func (this *QAudioEngine) Pause()
- func (this *QAudioEngine) Paused() bool
- func (this *QAudioEngine) PausedChanged()
- func (this *QAudioEngine) Resume()
- func (this *QAudioEngine) RoomEffectsEnabled() bool
- func (this *QAudioEngine) SampleRate() int
- func (this *QAudioEngine) SetDistanceScale(scale float32)
- func (this *QAudioEngine) SetMasterVolume(volume float32)
- func (this *QAudioEngine) SetOutputDevice(device *multimedia.QAudioDevice)
- func (this *QAudioEngine) SetOutputMode(mode QAudioEngine__OutputMode)
- func (this *QAudioEngine) SetPaused(paused bool)
- func (this *QAudioEngine) SetRoomEffectsEnabled(enabled bool)
- func (this *QAudioEngine) Start()
- func (this *QAudioEngine) Stop()
- func (this *QAudioEngine) UnsafePointer() unsafe.Pointer
- type QAudioEngine__OutputMode
- type QAudioListener
- func (this *QAudioListener) Delete()
- func (this *QAudioListener) Engine() *QAudioEngine
- func (this *QAudioListener) GoGC()
- func (this *QAudioListener) OnChildEvent(slot func(super func(event *qt6.QChildEvent), event *qt6.QChildEvent))
- func (this *QAudioListener) OnConnectNotify(slot func(super func(signal *qt6.QMetaMethod), signal *qt6.QMetaMethod))
- func (this *QAudioListener) OnCustomEvent(slot func(super func(event *qt6.QEvent), event *qt6.QEvent))
- func (this *QAudioListener) OnDisconnectNotify(slot func(super func(signal *qt6.QMetaMethod), signal *qt6.QMetaMethod))
- func (this *QAudioListener) OnEvent(slot func(super func(event *qt6.QEvent) bool, event *qt6.QEvent) bool)
- func (this *QAudioListener) OnEventFilter(...)
- func (this *QAudioListener) OnTimerEvent(slot func(super func(event *qt6.QTimerEvent), event *qt6.QTimerEvent))
- func (this *QAudioListener) Position() *qt6.QVector3D
- func (this *QAudioListener) Rotation() *qt6.QQuaternion
- func (this *QAudioListener) SetPosition(pos qt6.QVector3D)
- func (this *QAudioListener) SetRotation(q *qt6.QQuaternion)
- func (this *QAudioListener) UnsafePointer() unsafe.Pointer
- type QAudioRoom
- func (this *QAudioRoom) Delete()
- func (this *QAudioRoom) Dimensions() *qt6.QVector3D
- func (this *QAudioRoom) DimensionsChanged()
- func (this *QAudioRoom) GoGC()
- func (this *QAudioRoom) MetaObject() *qt6.QMetaObject
- func (this *QAudioRoom) Metacast(param1 string) unsafe.Pointer
- func (this *QAudioRoom) OnChildEvent(slot func(super func(event *qt6.QChildEvent), event *qt6.QChildEvent))
- func (this *QAudioRoom) OnConnectNotify(slot func(super func(signal *qt6.QMetaMethod), signal *qt6.QMetaMethod))
- func (this *QAudioRoom) OnCustomEvent(slot func(super func(event *qt6.QEvent), event *qt6.QEvent))
- func (this *QAudioRoom) OnDimensionsChanged(slot func())
- func (this *QAudioRoom) OnDisconnectNotify(slot func(super func(signal *qt6.QMetaMethod), signal *qt6.QMetaMethod))
- func (this *QAudioRoom) OnEvent(slot func(super func(event *qt6.QEvent) bool, event *qt6.QEvent) bool)
- func (this *QAudioRoom) OnEventFilter(...)
- func (this *QAudioRoom) OnPositionChanged(slot func())
- func (this *QAudioRoom) OnReflectionGainChanged(slot func())
- func (this *QAudioRoom) OnReverbBrightnessChanged(slot func())
- func (this *QAudioRoom) OnReverbGainChanged(slot func())
- func (this *QAudioRoom) OnReverbTimeChanged(slot func())
- func (this *QAudioRoom) OnRotationChanged(slot func())
- func (this *QAudioRoom) OnTimerEvent(slot func(super func(event *qt6.QTimerEvent), event *qt6.QTimerEvent))
- func (this *QAudioRoom) OnWallsChanged(slot func())
- func (this *QAudioRoom) Position() *qt6.QVector3D
- func (this *QAudioRoom) PositionChanged()
- func (this *QAudioRoom) ReflectionGain() float32
- func (this *QAudioRoom) ReflectionGainChanged()
- func (this *QAudioRoom) ReverbBrightness() float32
- func (this *QAudioRoom) ReverbBrightnessChanged()
- func (this *QAudioRoom) ReverbGain() float32
- func (this *QAudioRoom) ReverbGainChanged()
- func (this *QAudioRoom) ReverbTime() float32
- func (this *QAudioRoom) ReverbTimeChanged()
- func (this *QAudioRoom) Rotation() *qt6.QQuaternion
- func (this *QAudioRoom) RotationChanged()
- func (this *QAudioRoom) SetDimensions(dim qt6.QVector3D)
- func (this *QAudioRoom) SetPosition(pos qt6.QVector3D)
- func (this *QAudioRoom) SetReflectionGain(factor float32)
- func (this *QAudioRoom) SetReverbBrightness(factor float32)
- func (this *QAudioRoom) SetReverbGain(factor float32)
- func (this *QAudioRoom) SetReverbTime(factor float32)
- func (this *QAudioRoom) SetRotation(q *qt6.QQuaternion)
- func (this *QAudioRoom) SetWallMaterial(wall QAudioRoom__Wall, material QAudioRoom__Material)
- func (this *QAudioRoom) UnsafePointer() unsafe.Pointer
- func (this *QAudioRoom) WallMaterial(wall QAudioRoom__Wall) QAudioRoom__Material
- func (this *QAudioRoom) WallsChanged()
- type QAudioRoom__Material
- type QAudioRoom__Wall
- type QSpatialSound
- func (this *QSpatialSound) AutoPlay() bool
- func (this *QSpatialSound) AutoPlayChanged()
- func (this *QSpatialSound) Delete()
- func (this *QSpatialSound) Directivity() float32
- func (this *QSpatialSound) DirectivityChanged()
- func (this *QSpatialSound) DirectivityOrder() float32
- func (this *QSpatialSound) DirectivityOrderChanged()
- func (this *QSpatialSound) DistanceCutoff() float32
- func (this *QSpatialSound) DistanceCutoffChanged()
- func (this *QSpatialSound) DistanceModel() QSpatialSound__DistanceModel
- func (this *QSpatialSound) DistanceModelChanged()
- func (this *QSpatialSound) Engine() *QAudioEngine
- func (this *QSpatialSound) GoGC()
- func (this *QSpatialSound) Loops() int
- func (this *QSpatialSound) LoopsChanged()
- func (this *QSpatialSound) ManualAttenuation() float32
- func (this *QSpatialSound) ManualAttenuationChanged()
- func (this *QSpatialSound) MetaObject() *qt6.QMetaObject
- func (this *QSpatialSound) Metacast(param1 string) unsafe.Pointer
- func (this *QSpatialSound) NearFieldGain() float32
- func (this *QSpatialSound) NearFieldGainChanged()
- func (this *QSpatialSound) OcclusionIntensity() float32
- func (this *QSpatialSound) OcclusionIntensityChanged()
- func (this *QSpatialSound) OnAutoPlayChanged(slot func())
- func (this *QSpatialSound) OnChildEvent(slot func(super func(event *qt6.QChildEvent), event *qt6.QChildEvent))
- func (this *QSpatialSound) OnConnectNotify(slot func(super func(signal *qt6.QMetaMethod), signal *qt6.QMetaMethod))
- func (this *QSpatialSound) OnCustomEvent(slot func(super func(event *qt6.QEvent), event *qt6.QEvent))
- func (this *QSpatialSound) OnDirectivityChanged(slot func())
- func (this *QSpatialSound) OnDirectivityOrderChanged(slot func())
- func (this *QSpatialSound) OnDisconnectNotify(slot func(super func(signal *qt6.QMetaMethod), signal *qt6.QMetaMethod))
- func (this *QSpatialSound) OnDistanceCutoffChanged(slot func())
- func (this *QSpatialSound) OnDistanceModelChanged(slot func())
- func (this *QSpatialSound) OnEvent(slot func(super func(event *qt6.QEvent) bool, event *qt6.QEvent) bool)
- func (this *QSpatialSound) OnEventFilter(...)
- func (this *QSpatialSound) OnLoopsChanged(slot func())
- func (this *QSpatialSound) OnManualAttenuationChanged(slot func())
- func (this *QSpatialSound) OnNearFieldGainChanged(slot func())
- func (this *QSpatialSound) OnOcclusionIntensityChanged(slot func())
- func (this *QSpatialSound) OnPositionChanged(slot func())
- func (this *QSpatialSound) OnRotationChanged(slot func())
- func (this *QSpatialSound) OnSizeChanged(slot func())
- func (this *QSpatialSound) OnSourceChanged(slot func())
- func (this *QSpatialSound) OnTimerEvent(slot func(super func(event *qt6.QTimerEvent), event *qt6.QTimerEvent))
- func (this *QSpatialSound) OnVolumeChanged(slot func())
- func (this *QSpatialSound) Pause()
- func (this *QSpatialSound) Play()
- func (this *QSpatialSound) Position() *qt6.QVector3D
- func (this *QSpatialSound) PositionChanged()
- func (this *QSpatialSound) Rotation() *qt6.QQuaternion
- func (this *QSpatialSound) RotationChanged()
- func (this *QSpatialSound) SetAutoPlay(autoPlay bool)
- func (this *QSpatialSound) SetDirectivity(alpha float32)
- func (this *QSpatialSound) SetDirectivityOrder(alpha float32)
- func (this *QSpatialSound) SetDistanceCutoff(cutoff float32)
- func (this *QSpatialSound) SetDistanceModel(model QSpatialSound__DistanceModel)
- func (this *QSpatialSound) SetLoops(loops int)
- func (this *QSpatialSound) SetManualAttenuation(attenuation float32)
- func (this *QSpatialSound) SetNearFieldGain(gain float32)
- func (this *QSpatialSound) SetOcclusionIntensity(occlusion float32)
- func (this *QSpatialSound) SetPosition(pos qt6.QVector3D)
- func (this *QSpatialSound) SetRotation(q *qt6.QQuaternion)
- func (this *QSpatialSound) SetSize(size float32)
- func (this *QSpatialSound) SetSource(url *qt6.QUrl)
- func (this *QSpatialSound) SetVolume(volume float32)
- func (this *QSpatialSound) Size() float32
- func (this *QSpatialSound) SizeChanged()
- func (this *QSpatialSound) Source() *qt6.QUrl
- func (this *QSpatialSound) SourceChanged()
- func (this *QSpatialSound) Stop()
- func (this *QSpatialSound) UnsafePointer() unsafe.Pointer
- func (this *QSpatialSound) Volume() float32
- func (this *QSpatialSound) VolumeChanged()
- type QSpatialSound__DistanceModel
- type QSpatialSound__Loops
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QAmbientSound_Tr ¶
func QAmbientSound_Tr2 ¶
func QAudioEngine_Tr ¶
func QAudioEngine_Tr2 ¶
func QAudioRoom_Tr ¶
func QAudioRoom_Tr2 ¶
func QSpatialSound_Tr ¶
func QSpatialSound_Tr2 ¶
Types ¶
type QAmbientSound ¶
func NewQAmbientSound ¶
func NewQAmbientSound(engine *QAudioEngine) *QAmbientSound
NewQAmbientSound constructs a new QAmbientSound object.
func UnsafeNewQAmbientSound ¶
func UnsafeNewQAmbientSound(h unsafe.Pointer) *QAmbientSound
UnsafeNewQAmbientSound constructs the type using only unsafe pointers.
func (*QAmbientSound) AutoPlay ¶
func (this *QAmbientSound) AutoPlay() bool
func (*QAmbientSound) AutoPlayChanged ¶
func (this *QAmbientSound) AutoPlayChanged()
func (*QAmbientSound) Delete ¶
func (this *QAmbientSound) Delete()
Delete this object from C++ memory.
func (*QAmbientSound) Engine ¶
func (this *QAmbientSound) Engine() *QAudioEngine
func (*QAmbientSound) GoGC ¶
func (this *QAmbientSound) GoGC()
GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.
func (*QAmbientSound) Loops ¶
func (this *QAmbientSound) Loops() int
func (*QAmbientSound) LoopsChanged ¶
func (this *QAmbientSound) LoopsChanged()
func (*QAmbientSound) MetaObject ¶
func (this *QAmbientSound) MetaObject() *qt6.QMetaObject
func (*QAmbientSound) OnAutoPlayChanged ¶
func (this *QAmbientSound) OnAutoPlayChanged(slot func())
func (*QAmbientSound) OnChildEvent ¶
func (this *QAmbientSound) OnChildEvent(slot func(super func(event *qt6.QChildEvent), event *qt6.QChildEvent))
func (*QAmbientSound) OnConnectNotify ¶
func (this *QAmbientSound) OnConnectNotify(slot func(super func(signal *qt6.QMetaMethod), signal *qt6.QMetaMethod))
func (*QAmbientSound) OnCustomEvent ¶
func (this *QAmbientSound) OnCustomEvent(slot func(super func(event *qt6.QEvent), event *qt6.QEvent))
func (*QAmbientSound) OnDisconnectNotify ¶
func (this *QAmbientSound) OnDisconnectNotify(slot func(super func(signal *qt6.QMetaMethod), signal *qt6.QMetaMethod))
func (*QAmbientSound) OnEventFilter ¶
func (*QAmbientSound) OnLoopsChanged ¶
func (this *QAmbientSound) OnLoopsChanged(slot func())
func (*QAmbientSound) OnSourceChanged ¶
func (this *QAmbientSound) OnSourceChanged(slot func())
func (*QAmbientSound) OnTimerEvent ¶
func (this *QAmbientSound) OnTimerEvent(slot func(super func(event *qt6.QTimerEvent), event *qt6.QTimerEvent))
func (*QAmbientSound) OnVolumeChanged ¶
func (this *QAmbientSound) OnVolumeChanged(slot func())
func (*QAmbientSound) Pause ¶
func (this *QAmbientSound) Pause()
func (*QAmbientSound) Play ¶
func (this *QAmbientSound) Play()
func (*QAmbientSound) SetAutoPlay ¶
func (this *QAmbientSound) SetAutoPlay(autoPlay bool)
func (*QAmbientSound) SetLoops ¶
func (this *QAmbientSound) SetLoops(loops int)
func (*QAmbientSound) SetSource ¶
func (this *QAmbientSound) SetSource(url *qt6.QUrl)
func (*QAmbientSound) SetVolume ¶
func (this *QAmbientSound) SetVolume(volume float32)
func (*QAmbientSound) Source ¶
func (this *QAmbientSound) Source() *qt6.QUrl
func (*QAmbientSound) SourceChanged ¶
func (this *QAmbientSound) SourceChanged()
func (*QAmbientSound) Stop ¶
func (this *QAmbientSound) Stop()
func (*QAmbientSound) UnsafePointer ¶
func (this *QAmbientSound) UnsafePointer() unsafe.Pointer
func (*QAmbientSound) Volume ¶
func (this *QAmbientSound) Volume() float32
func (*QAmbientSound) VolumeChanged ¶
func (this *QAmbientSound) VolumeChanged()
type QAmbientSound__Loops ¶
type QAmbientSound__Loops int
const ( QAmbientSound__Infinite QAmbientSound__Loops = -1 QAmbientSound__Once QAmbientSound__Loops = 1 )
type QAudioEngine ¶
func NewQAudioEngine ¶
func NewQAudioEngine() *QAudioEngine
NewQAudioEngine constructs a new QAudioEngine object.
func NewQAudioEngine2 ¶
func NewQAudioEngine2(parent *qt6.QObject) *QAudioEngine
NewQAudioEngine2 constructs a new QAudioEngine object.
func NewQAudioEngine3 ¶
func NewQAudioEngine3(sampleRate int) *QAudioEngine
NewQAudioEngine3 constructs a new QAudioEngine object.
func NewQAudioEngine4 ¶
func NewQAudioEngine4(sampleRate int, parent *qt6.QObject) *QAudioEngine
NewQAudioEngine4 constructs a new QAudioEngine object.
func UnsafeNewQAudioEngine ¶
func UnsafeNewQAudioEngine(h unsafe.Pointer) *QAudioEngine
UnsafeNewQAudioEngine constructs the type using only unsafe pointers.
func (*QAudioEngine) Delete ¶
func (this *QAudioEngine) Delete()
Delete this object from C++ memory.
func (*QAudioEngine) DistanceScale ¶
func (this *QAudioEngine) DistanceScale() float32
func (*QAudioEngine) DistanceScaleChanged ¶
func (this *QAudioEngine) DistanceScaleChanged()
func (*QAudioEngine) GoGC ¶
func (this *QAudioEngine) GoGC()
GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.
func (*QAudioEngine) MasterVolume ¶
func (this *QAudioEngine) MasterVolume() float32
func (*QAudioEngine) MasterVolumeChanged ¶
func (this *QAudioEngine) MasterVolumeChanged()
func (*QAudioEngine) MetaObject ¶
func (this *QAudioEngine) MetaObject() *qt6.QMetaObject
func (*QAudioEngine) OnChildEvent ¶
func (this *QAudioEngine) OnChildEvent(slot func(super func(event *qt6.QChildEvent), event *qt6.QChildEvent))
func (*QAudioEngine) OnConnectNotify ¶
func (this *QAudioEngine) OnConnectNotify(slot func(super func(signal *qt6.QMetaMethod), signal *qt6.QMetaMethod))
func (*QAudioEngine) OnCustomEvent ¶
func (this *QAudioEngine) OnCustomEvent(slot func(super func(event *qt6.QEvent), event *qt6.QEvent))
func (*QAudioEngine) OnDisconnectNotify ¶
func (this *QAudioEngine) OnDisconnectNotify(slot func(super func(signal *qt6.QMetaMethod), signal *qt6.QMetaMethod))
func (*QAudioEngine) OnDistanceScaleChanged ¶
func (this *QAudioEngine) OnDistanceScaleChanged(slot func())
func (*QAudioEngine) OnEventFilter ¶
func (*QAudioEngine) OnMasterVolumeChanged ¶
func (this *QAudioEngine) OnMasterVolumeChanged(slot func())
func (*QAudioEngine) OnOutputDeviceChanged ¶
func (this *QAudioEngine) OnOutputDeviceChanged(slot func())
func (*QAudioEngine) OnOutputModeChanged ¶
func (this *QAudioEngine) OnOutputModeChanged(slot func())
func (*QAudioEngine) OnPausedChanged ¶
func (this *QAudioEngine) OnPausedChanged(slot func())
func (*QAudioEngine) OnTimerEvent ¶
func (this *QAudioEngine) OnTimerEvent(slot func(super func(event *qt6.QTimerEvent), event *qt6.QTimerEvent))
func (*QAudioEngine) OutputDevice ¶
func (this *QAudioEngine) OutputDevice() *multimedia.QAudioDevice
func (*QAudioEngine) OutputDeviceChanged ¶
func (this *QAudioEngine) OutputDeviceChanged()
func (*QAudioEngine) OutputMode ¶
func (this *QAudioEngine) OutputMode() QAudioEngine__OutputMode
func (*QAudioEngine) OutputModeChanged ¶
func (this *QAudioEngine) OutputModeChanged()
func (*QAudioEngine) Pause ¶
func (this *QAudioEngine) Pause()
func (*QAudioEngine) Paused ¶
func (this *QAudioEngine) Paused() bool
func (*QAudioEngine) PausedChanged ¶
func (this *QAudioEngine) PausedChanged()
func (*QAudioEngine) Resume ¶
func (this *QAudioEngine) Resume()
func (*QAudioEngine) RoomEffectsEnabled ¶
func (this *QAudioEngine) RoomEffectsEnabled() bool
func (*QAudioEngine) SampleRate ¶
func (this *QAudioEngine) SampleRate() int
func (*QAudioEngine) SetDistanceScale ¶
func (this *QAudioEngine) SetDistanceScale(scale float32)
func (*QAudioEngine) SetMasterVolume ¶
func (this *QAudioEngine) SetMasterVolume(volume float32)
func (*QAudioEngine) SetOutputDevice ¶
func (this *QAudioEngine) SetOutputDevice(device *multimedia.QAudioDevice)
func (*QAudioEngine) SetOutputMode ¶
func (this *QAudioEngine) SetOutputMode(mode QAudioEngine__OutputMode)
func (*QAudioEngine) SetPaused ¶
func (this *QAudioEngine) SetPaused(paused bool)
func (*QAudioEngine) SetRoomEffectsEnabled ¶
func (this *QAudioEngine) SetRoomEffectsEnabled(enabled bool)
func (*QAudioEngine) Start ¶
func (this *QAudioEngine) Start()
func (*QAudioEngine) Stop ¶
func (this *QAudioEngine) Stop()
func (*QAudioEngine) UnsafePointer ¶
func (this *QAudioEngine) UnsafePointer() unsafe.Pointer
type QAudioEngine__OutputMode ¶
type QAudioEngine__OutputMode int
const ( QAudioEngine__Surround QAudioEngine__OutputMode = 0 QAudioEngine__Stereo QAudioEngine__OutputMode = 1 QAudioEngine__Headphone QAudioEngine__OutputMode = 2 )
type QAudioListener ¶
func NewQAudioListener ¶
func NewQAudioListener(engine *QAudioEngine) *QAudioListener
NewQAudioListener constructs a new QAudioListener object.
func UnsafeNewQAudioListener ¶
func UnsafeNewQAudioListener(h unsafe.Pointer) *QAudioListener
UnsafeNewQAudioListener constructs the type using only unsafe pointers.
func (*QAudioListener) Delete ¶
func (this *QAudioListener) Delete()
Delete this object from C++ memory.
func (*QAudioListener) Engine ¶
func (this *QAudioListener) Engine() *QAudioEngine
func (*QAudioListener) GoGC ¶
func (this *QAudioListener) GoGC()
GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.
func (*QAudioListener) OnChildEvent ¶
func (this *QAudioListener) OnChildEvent(slot func(super func(event *qt6.QChildEvent), event *qt6.QChildEvent))
func (*QAudioListener) OnConnectNotify ¶
func (this *QAudioListener) OnConnectNotify(slot func(super func(signal *qt6.QMetaMethod), signal *qt6.QMetaMethod))
func (*QAudioListener) OnCustomEvent ¶
func (this *QAudioListener) OnCustomEvent(slot func(super func(event *qt6.QEvent), event *qt6.QEvent))
func (*QAudioListener) OnDisconnectNotify ¶
func (this *QAudioListener) OnDisconnectNotify(slot func(super func(signal *qt6.QMetaMethod), signal *qt6.QMetaMethod))
func (*QAudioListener) OnEventFilter ¶
func (*QAudioListener) OnTimerEvent ¶
func (this *QAudioListener) OnTimerEvent(slot func(super func(event *qt6.QTimerEvent), event *qt6.QTimerEvent))
func (*QAudioListener) Position ¶
func (this *QAudioListener) Position() *qt6.QVector3D
func (*QAudioListener) Rotation ¶
func (this *QAudioListener) Rotation() *qt6.QQuaternion
func (*QAudioListener) SetPosition ¶
func (this *QAudioListener) SetPosition(pos qt6.QVector3D)
func (*QAudioListener) SetRotation ¶
func (this *QAudioListener) SetRotation(q *qt6.QQuaternion)
func (*QAudioListener) UnsafePointer ¶
func (this *QAudioListener) UnsafePointer() unsafe.Pointer
type QAudioRoom ¶
func NewQAudioRoom ¶
func NewQAudioRoom(engine *QAudioEngine) *QAudioRoom
NewQAudioRoom constructs a new QAudioRoom object.
func UnsafeNewQAudioRoom ¶
func UnsafeNewQAudioRoom(h unsafe.Pointer) *QAudioRoom
UnsafeNewQAudioRoom constructs the type using only unsafe pointers.
func (*QAudioRoom) Dimensions ¶
func (this *QAudioRoom) Dimensions() *qt6.QVector3D
func (*QAudioRoom) DimensionsChanged ¶
func (this *QAudioRoom) DimensionsChanged()
func (*QAudioRoom) GoGC ¶
func (this *QAudioRoom) GoGC()
GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.
func (*QAudioRoom) MetaObject ¶
func (this *QAudioRoom) MetaObject() *qt6.QMetaObject
func (*QAudioRoom) OnChildEvent ¶
func (this *QAudioRoom) OnChildEvent(slot func(super func(event *qt6.QChildEvent), event *qt6.QChildEvent))
func (*QAudioRoom) OnConnectNotify ¶
func (this *QAudioRoom) OnConnectNotify(slot func(super func(signal *qt6.QMetaMethod), signal *qt6.QMetaMethod))
func (*QAudioRoom) OnCustomEvent ¶
func (this *QAudioRoom) OnCustomEvent(slot func(super func(event *qt6.QEvent), event *qt6.QEvent))
func (*QAudioRoom) OnDimensionsChanged ¶
func (this *QAudioRoom) OnDimensionsChanged(slot func())
func (*QAudioRoom) OnDisconnectNotify ¶
func (this *QAudioRoom) OnDisconnectNotify(slot func(super func(signal *qt6.QMetaMethod), signal *qt6.QMetaMethod))
func (*QAudioRoom) OnEventFilter ¶
func (*QAudioRoom) OnPositionChanged ¶
func (this *QAudioRoom) OnPositionChanged(slot func())
func (*QAudioRoom) OnReflectionGainChanged ¶
func (this *QAudioRoom) OnReflectionGainChanged(slot func())
func (*QAudioRoom) OnReverbBrightnessChanged ¶
func (this *QAudioRoom) OnReverbBrightnessChanged(slot func())
func (*QAudioRoom) OnReverbGainChanged ¶
func (this *QAudioRoom) OnReverbGainChanged(slot func())
func (*QAudioRoom) OnReverbTimeChanged ¶
func (this *QAudioRoom) OnReverbTimeChanged(slot func())
func (*QAudioRoom) OnRotationChanged ¶
func (this *QAudioRoom) OnRotationChanged(slot func())
func (*QAudioRoom) OnTimerEvent ¶
func (this *QAudioRoom) OnTimerEvent(slot func(super func(event *qt6.QTimerEvent), event *qt6.QTimerEvent))
func (*QAudioRoom) OnWallsChanged ¶
func (this *QAudioRoom) OnWallsChanged(slot func())
func (*QAudioRoom) Position ¶
func (this *QAudioRoom) Position() *qt6.QVector3D
func (*QAudioRoom) PositionChanged ¶
func (this *QAudioRoom) PositionChanged()
func (*QAudioRoom) ReflectionGain ¶
func (this *QAudioRoom) ReflectionGain() float32
func (*QAudioRoom) ReflectionGainChanged ¶
func (this *QAudioRoom) ReflectionGainChanged()
func (*QAudioRoom) ReverbBrightness ¶
func (this *QAudioRoom) ReverbBrightness() float32
func (*QAudioRoom) ReverbBrightnessChanged ¶
func (this *QAudioRoom) ReverbBrightnessChanged()
func (*QAudioRoom) ReverbGain ¶
func (this *QAudioRoom) ReverbGain() float32
func (*QAudioRoom) ReverbGainChanged ¶
func (this *QAudioRoom) ReverbGainChanged()
func (*QAudioRoom) ReverbTime ¶
func (this *QAudioRoom) ReverbTime() float32
func (*QAudioRoom) ReverbTimeChanged ¶
func (this *QAudioRoom) ReverbTimeChanged()
func (*QAudioRoom) Rotation ¶
func (this *QAudioRoom) Rotation() *qt6.QQuaternion
func (*QAudioRoom) RotationChanged ¶
func (this *QAudioRoom) RotationChanged()
func (*QAudioRoom) SetDimensions ¶
func (this *QAudioRoom) SetDimensions(dim qt6.QVector3D)
func (*QAudioRoom) SetPosition ¶
func (this *QAudioRoom) SetPosition(pos qt6.QVector3D)
func (*QAudioRoom) SetReflectionGain ¶
func (this *QAudioRoom) SetReflectionGain(factor float32)
func (*QAudioRoom) SetReverbBrightness ¶
func (this *QAudioRoom) SetReverbBrightness(factor float32)
func (*QAudioRoom) SetReverbGain ¶
func (this *QAudioRoom) SetReverbGain(factor float32)
func (*QAudioRoom) SetReverbTime ¶
func (this *QAudioRoom) SetReverbTime(factor float32)
func (*QAudioRoom) SetRotation ¶
func (this *QAudioRoom) SetRotation(q *qt6.QQuaternion)
func (*QAudioRoom) SetWallMaterial ¶
func (this *QAudioRoom) SetWallMaterial(wall QAudioRoom__Wall, material QAudioRoom__Material)
func (*QAudioRoom) UnsafePointer ¶
func (this *QAudioRoom) UnsafePointer() unsafe.Pointer
func (*QAudioRoom) WallMaterial ¶
func (this *QAudioRoom) WallMaterial(wall QAudioRoom__Wall) QAudioRoom__Material
func (*QAudioRoom) WallsChanged ¶
func (this *QAudioRoom) WallsChanged()
type QAudioRoom__Material ¶
type QAudioRoom__Material int
const ( QAudioRoom__Transparent QAudioRoom__Material = 0 QAudioRoom__AcousticCeilingTiles QAudioRoom__Material = 1 QAudioRoom__BrickBare QAudioRoom__Material = 2 QAudioRoom__BrickPainted QAudioRoom__Material = 3 QAudioRoom__ConcreteBlockCoarse QAudioRoom__Material = 4 QAudioRoom__ConcreteBlockPainted QAudioRoom__Material = 5 QAudioRoom__CurtainHeavy QAudioRoom__Material = 6 QAudioRoom__FiberGlassInsulation QAudioRoom__Material = 7 QAudioRoom__GlassThin QAudioRoom__Material = 8 QAudioRoom__GlassThick QAudioRoom__Material = 9 QAudioRoom__Grass QAudioRoom__Material = 10 QAudioRoom__LinoleumOnConcrete QAudioRoom__Material = 11 QAudioRoom__Marble QAudioRoom__Material = 12 QAudioRoom__Metal QAudioRoom__Material = 13 QAudioRoom__ParquetOnConcrete QAudioRoom__Material = 14 QAudioRoom__PlasterRough QAudioRoom__Material = 15 QAudioRoom__PlasterSmooth QAudioRoom__Material = 16 QAudioRoom__PlywoodPanel QAudioRoom__Material = 17 QAudioRoom__PolishedConcreteOrTile QAudioRoom__Material = 18 QAudioRoom__Sheetrock QAudioRoom__Material = 19 QAudioRoom__WaterOrIceSurface QAudioRoom__Material = 20 QAudioRoom__WoodCeiling QAudioRoom__Material = 21 QAudioRoom__WoodPanel QAudioRoom__Material = 22 QAudioRoom__UniformMaterial QAudioRoom__Material = 23 )
type QAudioRoom__Wall ¶
type QAudioRoom__Wall int
const ( QAudioRoom__LeftWall QAudioRoom__Wall = 0 QAudioRoom__RightWall QAudioRoom__Wall = 1 QAudioRoom__Floor QAudioRoom__Wall = 2 QAudioRoom__Ceiling QAudioRoom__Wall = 3 QAudioRoom__FrontWall QAudioRoom__Wall = 4 QAudioRoom__BackWall QAudioRoom__Wall = 5 )
type QSpatialSound ¶
func NewQSpatialSound ¶
func NewQSpatialSound(engine *QAudioEngine) *QSpatialSound
NewQSpatialSound constructs a new QSpatialSound object.
func UnsafeNewQSpatialSound ¶
func UnsafeNewQSpatialSound(h unsafe.Pointer) *QSpatialSound
UnsafeNewQSpatialSound constructs the type using only unsafe pointers.
func (*QSpatialSound) AutoPlay ¶
func (this *QSpatialSound) AutoPlay() bool
func (*QSpatialSound) AutoPlayChanged ¶
func (this *QSpatialSound) AutoPlayChanged()
func (*QSpatialSound) Delete ¶
func (this *QSpatialSound) Delete()
Delete this object from C++ memory.
func (*QSpatialSound) Directivity ¶
func (this *QSpatialSound) Directivity() float32
func (*QSpatialSound) DirectivityChanged ¶
func (this *QSpatialSound) DirectivityChanged()
func (*QSpatialSound) DirectivityOrder ¶
func (this *QSpatialSound) DirectivityOrder() float32
func (*QSpatialSound) DirectivityOrderChanged ¶
func (this *QSpatialSound) DirectivityOrderChanged()
func (*QSpatialSound) DistanceCutoff ¶
func (this *QSpatialSound) DistanceCutoff() float32
func (*QSpatialSound) DistanceCutoffChanged ¶
func (this *QSpatialSound) DistanceCutoffChanged()
func (*QSpatialSound) DistanceModel ¶
func (this *QSpatialSound) DistanceModel() QSpatialSound__DistanceModel
func (*QSpatialSound) DistanceModelChanged ¶
func (this *QSpatialSound) DistanceModelChanged()
func (*QSpatialSound) Engine ¶
func (this *QSpatialSound) Engine() *QAudioEngine
func (*QSpatialSound) GoGC ¶
func (this *QSpatialSound) GoGC()
GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.
func (*QSpatialSound) Loops ¶
func (this *QSpatialSound) Loops() int
func (*QSpatialSound) LoopsChanged ¶
func (this *QSpatialSound) LoopsChanged()
func (*QSpatialSound) ManualAttenuation ¶
func (this *QSpatialSound) ManualAttenuation() float32
func (*QSpatialSound) ManualAttenuationChanged ¶
func (this *QSpatialSound) ManualAttenuationChanged()
func (*QSpatialSound) MetaObject ¶
func (this *QSpatialSound) MetaObject() *qt6.QMetaObject
func (*QSpatialSound) NearFieldGain ¶
func (this *QSpatialSound) NearFieldGain() float32
func (*QSpatialSound) NearFieldGainChanged ¶
func (this *QSpatialSound) NearFieldGainChanged()
func (*QSpatialSound) OcclusionIntensity ¶
func (this *QSpatialSound) OcclusionIntensity() float32
func (*QSpatialSound) OcclusionIntensityChanged ¶
func (this *QSpatialSound) OcclusionIntensityChanged()
func (*QSpatialSound) OnAutoPlayChanged ¶
func (this *QSpatialSound) OnAutoPlayChanged(slot func())
func (*QSpatialSound) OnChildEvent ¶
func (this *QSpatialSound) OnChildEvent(slot func(super func(event *qt6.QChildEvent), event *qt6.QChildEvent))
func (*QSpatialSound) OnConnectNotify ¶
func (this *QSpatialSound) OnConnectNotify(slot func(super func(signal *qt6.QMetaMethod), signal *qt6.QMetaMethod))
func (*QSpatialSound) OnCustomEvent ¶
func (this *QSpatialSound) OnCustomEvent(slot func(super func(event *qt6.QEvent), event *qt6.QEvent))
func (*QSpatialSound) OnDirectivityChanged ¶
func (this *QSpatialSound) OnDirectivityChanged(slot func())
func (*QSpatialSound) OnDirectivityOrderChanged ¶
func (this *QSpatialSound) OnDirectivityOrderChanged(slot func())
func (*QSpatialSound) OnDisconnectNotify ¶
func (this *QSpatialSound) OnDisconnectNotify(slot func(super func(signal *qt6.QMetaMethod), signal *qt6.QMetaMethod))
func (*QSpatialSound) OnDistanceCutoffChanged ¶
func (this *QSpatialSound) OnDistanceCutoffChanged(slot func())
func (*QSpatialSound) OnDistanceModelChanged ¶
func (this *QSpatialSound) OnDistanceModelChanged(slot func())
func (*QSpatialSound) OnEventFilter ¶
func (*QSpatialSound) OnLoopsChanged ¶
func (this *QSpatialSound) OnLoopsChanged(slot func())
func (*QSpatialSound) OnManualAttenuationChanged ¶
func (this *QSpatialSound) OnManualAttenuationChanged(slot func())
func (*QSpatialSound) OnNearFieldGainChanged ¶
func (this *QSpatialSound) OnNearFieldGainChanged(slot func())
func (*QSpatialSound) OnOcclusionIntensityChanged ¶
func (this *QSpatialSound) OnOcclusionIntensityChanged(slot func())
func (*QSpatialSound) OnPositionChanged ¶
func (this *QSpatialSound) OnPositionChanged(slot func())
func (*QSpatialSound) OnRotationChanged ¶
func (this *QSpatialSound) OnRotationChanged(slot func())
func (*QSpatialSound) OnSizeChanged ¶
func (this *QSpatialSound) OnSizeChanged(slot func())
func (*QSpatialSound) OnSourceChanged ¶
func (this *QSpatialSound) OnSourceChanged(slot func())
func (*QSpatialSound) OnTimerEvent ¶
func (this *QSpatialSound) OnTimerEvent(slot func(super func(event *qt6.QTimerEvent), event *qt6.QTimerEvent))
func (*QSpatialSound) OnVolumeChanged ¶
func (this *QSpatialSound) OnVolumeChanged(slot func())
func (*QSpatialSound) Pause ¶
func (this *QSpatialSound) Pause()
func (*QSpatialSound) Play ¶
func (this *QSpatialSound) Play()
func (*QSpatialSound) Position ¶
func (this *QSpatialSound) Position() *qt6.QVector3D
func (*QSpatialSound) PositionChanged ¶
func (this *QSpatialSound) PositionChanged()
func (*QSpatialSound) Rotation ¶
func (this *QSpatialSound) Rotation() *qt6.QQuaternion
func (*QSpatialSound) RotationChanged ¶
func (this *QSpatialSound) RotationChanged()
func (*QSpatialSound) SetAutoPlay ¶
func (this *QSpatialSound) SetAutoPlay(autoPlay bool)
func (*QSpatialSound) SetDirectivity ¶
func (this *QSpatialSound) SetDirectivity(alpha float32)
func (*QSpatialSound) SetDirectivityOrder ¶
func (this *QSpatialSound) SetDirectivityOrder(alpha float32)
func (*QSpatialSound) SetDistanceCutoff ¶
func (this *QSpatialSound) SetDistanceCutoff(cutoff float32)
func (*QSpatialSound) SetDistanceModel ¶
func (this *QSpatialSound) SetDistanceModel(model QSpatialSound__DistanceModel)
func (*QSpatialSound) SetLoops ¶
func (this *QSpatialSound) SetLoops(loops int)
func (*QSpatialSound) SetManualAttenuation ¶
func (this *QSpatialSound) SetManualAttenuation(attenuation float32)
func (*QSpatialSound) SetNearFieldGain ¶
func (this *QSpatialSound) SetNearFieldGain(gain float32)
func (*QSpatialSound) SetOcclusionIntensity ¶
func (this *QSpatialSound) SetOcclusionIntensity(occlusion float32)
func (*QSpatialSound) SetPosition ¶
func (this *QSpatialSound) SetPosition(pos qt6.QVector3D)
func (*QSpatialSound) SetRotation ¶
func (this *QSpatialSound) SetRotation(q *qt6.QQuaternion)
func (*QSpatialSound) SetSize ¶
func (this *QSpatialSound) SetSize(size float32)
func (*QSpatialSound) SetSource ¶
func (this *QSpatialSound) SetSource(url *qt6.QUrl)
func (*QSpatialSound) SetVolume ¶
func (this *QSpatialSound) SetVolume(volume float32)
func (*QSpatialSound) Size ¶
func (this *QSpatialSound) Size() float32
func (*QSpatialSound) SizeChanged ¶
func (this *QSpatialSound) SizeChanged()
func (*QSpatialSound) Source ¶
func (this *QSpatialSound) Source() *qt6.QUrl
func (*QSpatialSound) SourceChanged ¶
func (this *QSpatialSound) SourceChanged()
func (*QSpatialSound) Stop ¶
func (this *QSpatialSound) Stop()
func (*QSpatialSound) UnsafePointer ¶
func (this *QSpatialSound) UnsafePointer() unsafe.Pointer
func (*QSpatialSound) Volume ¶
func (this *QSpatialSound) Volume() float32
func (*QSpatialSound) VolumeChanged ¶
func (this *QSpatialSound) VolumeChanged()
type QSpatialSound__DistanceModel ¶
type QSpatialSound__DistanceModel int
const ( QSpatialSound__Logarithmic QSpatialSound__DistanceModel = 0 QSpatialSound__Linear QSpatialSound__DistanceModel = 1 QSpatialSound__ManualAttenuation QSpatialSound__DistanceModel = 2 )
type QSpatialSound__Loops ¶
type QSpatialSound__Loops int
const ( QSpatialSound__Infinite QSpatialSound__Loops = -1 QSpatialSound__Once QSpatialSound__Loops = 1 )