Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  "Fade on stop/pause" duration control (was: Plug-in for audio fade?)
« previous next »
  • Print
Pages: 1 2 3 [4]

Author Topic: "Fade on stop/pause" duration control (was: Plug-in for audio fade?)  (Read 12716 times)

Offline chrisjj

  • Member
  • *
  • Posts: 276
Re: "Fade on stop/pause" duration control (was: Plug-in for audio fade?)
« Reply #45 on: January 03, 2017, 08:08:51 AM »
Quote from: Bilgus on December 28, 2016, 10:11:15 PM
weird  maybe you don't have that function available???

Same on iPod Video sim: http://i.imgur.com/kAgBC1L.png

Quote from: Bilgus on December 28, 2016, 10:11:15 PM
, What version is the rom on the sim you are using?

I'm not aware of using any Lua ROM. I'm just selecting your .lua file.

Quote from: Bilgus on December 28, 2016, 10:11:15 PM
try replacing   'if rb.pcm_is_playing() then'
with
Code: [Select]
AUDIO_STATUS_PLAY = 1
    if rb.audio_status() == AUDIO_STATUS_PLAY then

On ZEN simulator, that fixes it. First run fades to zero. Second fades to set volume.

I did once hear the fade down start with a jump for the set volume of about -20 to a louder volume, before starting the the fade.

And the script gives this error http://i.imgur.com/YcvQeBH.png

Thanks!
Logged

Offline chrisjj

  • Member
  • *
  • Posts: 276
Re: "Fade on stop/pause" duration control (was: Plug-in for audio fade?)
« Reply #46 on: January 11, 2017, 07:53:58 PM »
Quote from: chrisjj on January 03, 2017, 08:08:51 AM
Quote from: Bilgus on December 28, 2016, 10:11:15 PM
weird  maybe you don't have that function available???

Same on iPod Video sim: http://i.imgur.com/kAgBC1L.png


FTR, here's the export from the Windows ZEN sim (3ee7972-161218, built by rasher http://rasher.dk/rockbox/simulator/) on which this .lua gives an error, confirming the function is missing: http://i.imgur.com/GiG9m9z.png

Here's the export from the ZEN device (custom build from pamaury, 3cda546d5-170111) on which this .lua doesn't gives an error, showing the function present: http://i.imgur.com/5r4wqxl.png.

I'd guess this function is a recent addition.
« Last Edit: January 11, 2017, 07:57:10 PM by chrisjj »
Logged

  • Print
Pages: 1 2 3 [4]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  "Fade on stop/pause" duration control (was: Plug-in for audio fade?)
 

  • SMF 2.0.18 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.018 seconds with 16 queries.