Thanks I understand. You are right in our application sequence mplayer always executes resume(), since our application sends stop command. -----Original Message----- From: mplayer-users-bounces at mplayerhq.hu [mailto:mplayer-users-bounces at mplayerhq.hu] On Behalf Of Reimar D?ffinger Sent: Wednesday, November 11, 2009 4:30 PM To: MPlayer usage questions, feature requests,bug reports Subject: Re: [MPlayer-users] Pause and play next song; hear a glitch On Wed, Nov 11, 2009 at 12:27:31PM +0200, Yarriswamy Chandranna wrote: > "mpctx->eof" is not getting set so it won't call alsa reset(). That depends on which commands you send. Normally, MPlayer first unpauses and then executes the command, the it obviously will resume first. However if you first switch the file and then unpause it should work. Commands to do that: pausing_keep_force pt_step 1 get_property pause _______________________________________________ MPlayer-users mailing list MPlayer-users at mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users ______________________________________________________________________ DSP Group, Inc. automatically scans all emails and attachments using MessageLabs Email Security System. _____________________________________________________________________ ______________________________________________________________________ DSP Group, Inc. automatically scans all emails and attachments using MessageLabs Email Security System. _____________________________________________________________________