Skip to content

Commit

Permalink
renamed PlaySoundAlgorithm to PlaySoundEffectAlgorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
bogind committed Jul 28, 2024
1 parent ffc23f4 commit 80a33d0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions qgs_sound_effects_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

MESSAGE_CATEGORY = 'QGIS Sound Effects'

class PlaySoundAlgorithm(QgsProcessingAlgorithm):
class PlaySoundEffectAlgorithm(QgsProcessingAlgorithm):


SOUND = 'SOUND'
Expand Down Expand Up @@ -134,7 +134,7 @@ def processAlgorithm(self, parameters, context, feedback):


def createInstance(self):
return PlaySoundAlgorithm()
return PlaySoundEffectAlgorithm()

class SaySomeTextAlgorithm(QgsProcessingAlgorithm):
"""This algorithm uses the PyQt5 QTextToSpeech class and your Operating System's native text-to-speech engine to say some text.
Expand Down Expand Up @@ -321,5 +321,6 @@ def unload(self):
pass

def loadAlgorithms(self):
self.addAlgorithm(PlaySoundEffectAlgorithm())
self.addAlgorithm(SaySomeTextAlgorithm())

0 comments on commit 80a33d0

Please sign in to comment.