TC MediaPlayer behaviour
Moderators: Hacker, petermad, Stefan2, white
TC MediaPlayer behaviour
Hi,
* I use a customized preset for the EQ. It works fine until a playlist or single track finishes... then stop. When I play a new file or playlist the EQ just stops working. I have to close the TC Media Player (X) and start over again.
* In the 99% of the cases, if I pause a playlist for a long period of time (for example: a few hours) and then press play again, the Media Player just closes (losing the playlist, if I didn't save it...)
This behaviour applies to TC for Android 2.0x to 2.62.
I have a Motorola D3 (XT919), Android 4.1.2 (kernel 3.4.0)
Thanks in advance!
* I use a customized preset for the EQ. It works fine until a playlist or single track finishes... then stop. When I play a new file or playlist the EQ just stops working. I have to close the TC Media Player (X) and start over again.
* In the 99% of the cases, if I pause a playlist for a long period of time (for example: a few hours) and then press play again, the Media Player just closes (losing the playlist, if I didn't save it...)
This behaviour applies to TC for Android 2.0x to 2.62.
I have a Motorola D3 (XT919), Android 4.1.2 (kernel 3.4.0)
Thanks in advance!
I Love Total Commander!
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Did you have any other audio effects enabled, e.g. loudness enhancer? It depends on the phone hardware whether you can use multiple effects at the same time, or just one.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I see - can you try it with disabled bass enhancer?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Could you try one of the equalizer presets? The error you get is an exception coming directly from Android, not an error shown by Total Commander.
Total Commander does query the system which parameters are suported by the equalizer before setting them. But it may be reported incorrectly. If the presets work, you can try to move the sliders a bit less than to the upper/lower ends.
Total Commander does query the system which parameters are suported by the equalizer before setting them. But it may be reported incorrectly. If the presets work, you can try to move the sliders a bit less than to the upper/lower ends.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I'm using the v2.71 now, but this problem not only persists: it is worse now 
Before, the EQ "crashed" and the "AudioEffect: set/get parameter error" only appeared when a track or playlist finished (then stop).
Now I get that error when pause and press play again, or I skip a track, or a track finishes then play the next automatically in a playlist.
This is really annoying now. The problem is worse now, so I think is not only an Android problem

Before, the EQ "crashed" and the "AudioEffect: set/get parameter error" only appeared when a track or playlist finished (then stop).
Now I get that error when pause and press play again, or I skip a track, or a track finishes then play the next automatically in a playlist.
This is really annoying now. The problem is worse now, so I think is not only an Android problem

I Love Total Commander!
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
TC has to reapply the equalizer each time a track changes, because a new MediaPlayer object is used. If applying the equalizer fails, TC tries to apply it again when you pause/restart the track. I really don't know why the function would fail on your device. 

Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Good news: I found the problem with the equalizer! It has to do with so called audio sessions. The equalizer only works on the current audio session, and each new player gets a new session ID. But it's possible to set the ID manually, then it works also beyond the first track.
The new frame icon is only visible when using the new style icons (Main configuration - Font and Colors - New style icons).
The new frame icon is only visible when using the new style icons (Main configuration - Font and Colors - New style icons).
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com