Versions in this module Expand all Collapse all v0 v0.7.1 Dec 16, 2024 v0.7.0 Nov 27, 2024 Changes in this version + 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 struct + func NewQAmbientSound(engine *QAudioEngine) *QAmbientSound + func UnsafeNewQAmbientSound(h unsafe.Pointer, h_QObject unsafe.Pointer) *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 int + const QAmbientSound__Infinite + const QAmbientSound__Once + type QAudioEngine struct + func NewQAudioEngine() *QAudioEngine + func NewQAudioEngine2(parent *qt6.QObject) *QAudioEngine + func NewQAudioEngine3(sampleRate int) *QAudioEngine + func NewQAudioEngine4(sampleRate int, parent *qt6.QObject) *QAudioEngine + func UnsafeNewQAudioEngine(h unsafe.Pointer, h_QObject unsafe.Pointer) *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 int + const QAudioEngine__Headphone + const QAudioEngine__Stereo + const QAudioEngine__Surround + type QAudioListener struct + func NewQAudioListener(engine *QAudioEngine) *QAudioListener + func UnsafeNewQAudioListener(h unsafe.Pointer, h_QObject unsafe.Pointer) *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 struct + func NewQAudioRoom(engine *QAudioEngine) *QAudioRoom + func UnsafeNewQAudioRoom(h unsafe.Pointer, h_QObject unsafe.Pointer) *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 int + const QAudioRoom__AcousticCeilingTiles + const QAudioRoom__BrickBare + const QAudioRoom__BrickPainted + const QAudioRoom__ConcreteBlockCoarse + const QAudioRoom__ConcreteBlockPainted + const QAudioRoom__CurtainHeavy + const QAudioRoom__FiberGlassInsulation + const QAudioRoom__GlassThick + const QAudioRoom__GlassThin + const QAudioRoom__Grass + const QAudioRoom__LinoleumOnConcrete + const QAudioRoom__Marble + const QAudioRoom__Metal + const QAudioRoom__ParquetOnConcrete + const QAudioRoom__PlasterRough + const QAudioRoom__PlasterSmooth + const QAudioRoom__PlywoodPanel + const QAudioRoom__PolishedConcreteOrTile + const QAudioRoom__Sheetrock + const QAudioRoom__Transparent + const QAudioRoom__UniformMaterial + const QAudioRoom__WaterOrIceSurface + const QAudioRoom__WoodCeiling + const QAudioRoom__WoodPanel + type QAudioRoom__Wall int + const QAudioRoom__BackWall + const QAudioRoom__Ceiling + const QAudioRoom__Floor + const QAudioRoom__FrontWall + const QAudioRoom__LeftWall + const QAudioRoom__RightWall + type QSpatialSound struct + func NewQSpatialSound(engine *QAudioEngine) *QSpatialSound + func UnsafeNewQSpatialSound(h unsafe.Pointer, h_QObject unsafe.Pointer) *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 int + const QSpatialSound__Linear + const QSpatialSound__Logarithmic + const QSpatialSound__ManualAttenuation + type QSpatialSound__Loops int + const QSpatialSound__Infinite + const QSpatialSound__Once