Ticket #888 (assigned Discussion)

Opened 9 months ago

Last modified 3 months ago

Cross fade doesn't work on Debian and if enabled, jajuk plays only alternative files.

Reported by: varun Assigned to: bflorat (accepted)
Priority: 10, highest Milestone: 1.7 "Firestarter"
Component: (Jajuk Members) Any (Default Component) Version: 1.5-trunk
Keywords: Cc:

Description

Hi,

I just noticed this yesterday, that cross fade doesn't work on my system, and strangely if the cross fade duration is set to some non-zero value, Jajuk plays only alternate files in the play list. Its like the sound is set to zero for every alternative file.

Regards Varun

Attachments

Change History

(follow-up: ↓ 2 ) 01/24/08 23:24:33 changed by bflorat

  • priority changed from 5 to 10.
  • status changed from new to assigned.
  • milestone changed from To Be Decided by Jajuk Team to 1.5 "Lothlórien".

I cannot reproduce. I for one always use cross fading without any problem so far. I'm not sure to understand the problem, do you mean one track over 2 is muted ?

Is it 100% reproduced by you ? if so, could you please debug the MPlayerPlayerImpl, FIFO and Player classes (I can assist you on this if required as it's a bit tricky)

(in reply to: ↑ 1 ) 01/25/08 16:29:13 changed by varun

Replying to bflorat:

I cannot reproduce. I for one always use cross fading without any problem so far. I'm not sure to understand the problem, do you mean one track over 2 is muted ? Is it 100% reproduced by you ? if so, could you please debug the MPlayerPlayerImpl, FIFO and Player classes (I can assist you on this if required as it's a bit tricky)

Hi Bertrand,

I was able to fix this problem by using -ao alsa additional arguments to mplayer. Actually, I was not able to play two audio files simultaneously using mplayer. I had to pass additional arguments -ao alsa to make it work.

Could you please consider adding this also to the options currently displayed. I am also thinking of setting this as a default argument for the Debian package because somebody reported a similar problem sometime back but I didn't know that it was related to cross fade.

Regards Varun

(follow-up: ↓ 4 ) 01/25/08 23:16:21 changed by bflorat

Nice to hear you solved this issue ! Not sure if it's a good idea to force alsa under linux boxes. Are you sure ao=alsa would work on all configuration, those who uses esd and those who use arts ? for now, we adviced users to use ao=esd under gnome and ao=arts for KDE users.

See faq http://wiki.jajuk.info/index.php/English_jajuk_faq#After_setting_a_cross-fade.2C_the_next_track_cannot_start

(in reply to: ↑ 3 ) 02/01/08 20:29:17 changed by varun

Replying to bflorat:

Nice to hear you solved this issue ! Not sure if it's a good idea to force alsa under linux boxes. Are you sure ao=alsa would work on all configuration, those who uses esd and those who use arts ? for now, we adviced users to use ao=esd under gnome and ao=arts for KDE users.

I tried looking online but there doesn't seem to be any fixed solution for this. Basically dmix should be enabled in the sound server (alsa).. so it can work using ao=esd or ao=arts or ao=alsa.

So, I guess it would be better to add this option also.

02/03/08 22:36:06 changed by bflorat

  • milestone changed from 1.5 "Lothlórien" to 1.6 "Summertime".

02/10/08 21:24:26 changed by bflorat

Not sure to get it, let's discuss on it in 1.6

04/28/08 22:10:28 changed by bflorat

  • milestone changed from 1.6 "Summertime" to 1.7 "Firestarter".

07/20/08 22:13:23 changed by bflorat

Note: tight formats for commands are: -ao esd -ao arts -ao alsa


Add/Change #888 (Cross fade doesn't work on Debian and if enabled, jajuk plays only alternative files.)