Thanks! But I forgot to rewind() second file before adding it to the playlist - that was my main mistake. Also, there is a type error in the AmPlaylist.h - the AmPlaylist class has two methods: 1. addToPlaylist (..) - a second 'l' isn't a capital 2. addToPlayListFront (..) - a second 'L' is a capital
WBR, Anton Zagorskiy VoIP Developer, Oyster Telecom Phone.: +7 812 601-0666 Fax: +7 812 601-0593 [email protected] www.oyster-telecom.ru > -----Original Message----- > From: Stefan Sayer [mailto:[email protected]] > Sent: Monday, October 25, 2010 9:26 PM > To: Anton Zagorskiy > Cc: [email protected] > Subject: Re: [Sems] Mixing playlists > > Anton Zagorskiy wrote: > > Hello! > > > > While I'm calling callee I want to play one wav file, after 10 > seconds > > calling I want to play another file and then _continue_ playing first > file. > > As I understand I can't do this using just one playlist - so I > created two. > no need to make it complicated: just use addToPlaylistFront(file2) > after 10 seconds, that will interrupt the first file in the playlist, > and when file2 is over, file1 will continue to play where it left off. > > stefan > > p.s. i guess sems crashed in your solution because you deleted the > audio file twice or something like that. run sems in gdb, or run it > with ulimit -c unlimited and inspect the backtrace, this should give > you a hint _______________________________________________ Sems mailing list [email protected] http://lists.iptel.org/mailman/listinfo/sems
