audio.play options ( fade out ?)

In the API example, whe have :

local options = { channel=1, loops=-1, duration=30000, fadein=5000, onComplete=callbackListener }

fadein is cool but why is there no fadeout. Duration without fadeout is nearly useless :frowning:

(and existing audio.fadeOut() working on an entire channel is not the solution)

Am I missing something ?

[import]uid: 9328 topic_id: 35405 reply_id: 335405[/import]

As far as I know, you can only “fade” channels. You need to use audio.fade()
http://docs.coronalabs.com/api/library/audio/fade.html
[import]uid: 21331 topic_id: 35405 reply_id: 140713[/import]

Thx for the comment . [import]uid: 9328 topic_id: 35405 reply_id: 140747[/import]

Thx for the comment . [import]uid: 9328 topic_id: 35405 reply_id: 140748[/import]

As far as I know, you can only “fade” channels. You need to use audio.fade()
http://docs.coronalabs.com/api/library/audio/fade.html
[import]uid: 21331 topic_id: 35405 reply_id: 140713[/import]

Thx for the comment . [import]uid: 9328 topic_id: 35405 reply_id: 140747[/import]

Thx for the comment . [import]uid: 9328 topic_id: 35405 reply_id: 140748[/import]