Rockbox Technical Forums

Rockbox Development => Feature Ideas => Topic started by: watz on October 02, 2008, 09:31:07 AM

Title: Stopping and than Starting with minus 1-2 seconds
Post by: watz on October 02, 2008, 09:31:07 AM
Hello,

I'm new - and I love the Rockbox on my Sansa...
 
I learned a lot of the configuration, and got the best way
to hear my POD-CASTS.

I like the fade-out for switch-off and the fade-in for switch-on.

BUT the are some milliseconds missing.

By looking to my iRiver and my VDR, I get other service.
I pause the playback at 1:30.
By starting the playback starts at (4x) 1:29.
slightly repeating the last one second.

I like this because I don't miss a thing.
Is there a chance to make any configuration for that behavior?

Greetings from Germany

Watz
Title: Re: Stopping and than Starting with minus 1-2 seconds
Post by: karashata on October 02, 2008, 12:47:16 PM
You would have to rewrite the code that controls the fade out to also rewind a second or two.  There isn't any configuration for such on the players themselves.
Title: Re: Stopping and than Starting with minus 1-2 seconds
Post by: GodEater on October 03, 2008, 02:26:54 AM
There is some code that does this already - the code which is called when the headphones are unplugged on DAPS which support detection of this. You can configure a rewind period for when the headphones are plugged back in again.
Title: Re: Stopping and than Starting with minus 1-2 seconds
Post by: karashata on October 03, 2008, 02:07:21 PM
Ah, I had forgotten about that...  My DAP doesn't support detection of unplugged headphones, so I didn't think of that.
Title: Re: Stopping and than Starting with minus 1-2 seconds
Post by: mc2739 on October 03, 2008, 07:22:24 PM
I have added a patch to Flyspray for this feature (FS#9448).  The rewind amount is hard coded to 2 seconds since I have not incorporated the menu options at this time.

Edit: New patch uploaded with settings for enable/disable and rewind amount
Title: Re: Stopping and than Starting with minus 1-2 seconds
Post by: watz on October 05, 2008, 06:49:35 AM
....sounds very good!

I ll try to install the patch ...

I hope that It is possible to EDIT the SW by myself?

Greetings

Watz
Title: Re: Stopping and than Starting with minus 1-2 seconds
Post by: Chronon on October 05, 2008, 01:38:36 PM
watz, have a look at some of the articles in the "For Developers" section of the docs index.  Particularly, the SimpleGiudeToCompiling page should be a good place to start.
Title: Re: Stopping and than Starting with minus 1-2 seconds
Post by: watz on October 06, 2008, 04:12:36 AM
sounds easy!

found the nice documentation.

I'll have a try.

Greetings from Germany

Thank U 4 Your help.
Title: Re: Stopping and than Starting with minus 1-2 seconds
Post by: AlexP on October 06, 2008, 06:29:56 AM
Thank U 4 Your help.

Please follow the guidelines and use real words.  things like "U" and "4" instead of "you" and "for" aren't acceptable here.

Thanks.
Title: Re: Stopping and than Starting with minus 1-2 seconds
Post by: watz on October 09, 2008, 09:28:32 AM
The patch worked fine
and the compilation was no
problem for me.

Thank's for the good
documentation.
Very usable.

Greetings from Germany

Watz

P.S. Only the type for the build have to be N - not n.