mirror of
https://github.com/love2d/love.git
synced 2026-08-12 00:20:52 +02:00
fix test.audio.Source
This commit is contained in:
@@ -144,14 +144,14 @@ love.test.audio.Source = function(test)
|
||||
type = 'flanger',
|
||||
volume = 10
|
||||
})
|
||||
local seteffect, err = effsource:setEffect('flanger', {
|
||||
local seteffect, err = effsource:setEffect('testeffect', {
|
||||
type = 'highpass',
|
||||
volume = 0.3,
|
||||
lowgain = 0.1
|
||||
})
|
||||
-- both these fail on 12 using stereo or mono, no err
|
||||
test:assertEquals(true, seteffect, 'check effect was applied')
|
||||
local filtersettings = effsource:getEffect('chorus', {})
|
||||
local filtersettings = effsource:getEffect('effectthatdoesntexist', {})
|
||||
test:assertNotNil(filtersettings)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user