[andy: Re: [Alsaplayer-devel]patch to loop songs.]
Andy Lo A Foe
Mon, 18 Jun 2001 19:54:02 +0200
----- Forwarded message from andy -----
To: Patrick Shirkey <email@example.com>
Subject: Re: [Alsaplayer-devel]patch to loop songs.
X-Uptime: 7 days
On Tue, Jun 19, 2001 at 01:34:40AM -0400, Patrick Shirkey wrote:
> I have managed to get the button to restart the song when pressed but I
> cannot yet figure out how to get alsaplayer to wait until the end of the
> song before it does the loop.
Hi, sorry for not being more active but I have some deadlines to meet.
These deadlines get priority because, well.. when met, they pay the
As to adding repeat. You should look at the playlist looper thread
specifically the playlist_looper(void *) function in Playlist.cpp.
What this thread does is basically monitor the current playing song and
when it notices that the current song has stopped (reached its end)
fires up the Next song in the playlist. This function should be modified
to also check some kind of repeat variable that should indicate wether
the current song should be repeated or just do the next song.
> Only in alsa/alsaplayer-0.99.33-pre3/app: .libs
> Only in alsa/alsaplayer-0.99.33-pre3/app: AlsaNode.o
> Only in alsa/alsaplayer-0.99.33-pre3/app: AlsaSubscriber.o
It's a good thing to run "make distclean" on your source tree before
I'll check your code.. no promises on when though :)
----- End forwarded message -----