Movie on multiple screens

Just starting out? Need help? Post your questions and find answers here.
k3pto
User
User
Posts: 87
Joined: Sat Jan 17, 2015 5:24 pm

Movie on multiple screens

Post by k3pto »

My application shows a movie on three screens. In order to ensure that the sound is synchronized at all three locations I execute the following sequence of instructions for each monitor:

Code: Select all

	Movie_nID = LoadMovie ( #PB_Any, FileName )
	MovieAudio (Movie_nID , volume, 0 )
	ResizeMovie (Movie_nID , 0, 0, Monitor_ndx, Monitor_ndy )
	PlayMovie (Movie_nID , Movie_nWindow )
	Delay(DelayTime)
	PauseMovie (Movie_nID )
When all three are done the above I then execute the following:

Code: Select all

	ResumeMovie (Movie_1ID)
	ResumeMovie (Movie_2ID)
	ResumeMovie (Movie_3ID)
This works fine on my home computer (about 8 years old) with DelayTime = 0. However, when I try it on my work computer which is newer (about 4 years old) and faster and more memory, I have to make DelayTime = 150 or the system hangs up and I can only terminate the program using Task Manager.

( sorry if this is a duplicate, I thought I entered it last week but I do not see it in the list )


Moved from "Bugs - Windows" to "Coding Questions" (Kiffi)
BarryG
Addict
Addict
Posts: 4178
Joined: Thu Apr 18, 2019 8:17 am

Re: Movie on multiple screens

Post by BarryG »

This is not a bug (again). It's a coding question. Your other post is here -> viewtopic.php?t=85222
Post Reply