Note: This is an archived post that was originally sent to the Hollywood mailing list on Mon, 17 Sep 2007 22:49:54 +0100
Hi!
There is a Hollywood generated executable which is asynchron started by another Hollywood exe. The main code has a PauseMusic() before the Execute(). The problem is that the "child" task do not play the module. If it runs separately the module is playing.
Is there any workaround for it? Is it normal that the first program is take over ahi in front of the others?
[17 Sep 2007] AHI playback
-
SamuraiCrow
- Posts: 475
- Joined: Fri May 15, 2015 5:15 pm
- Location: Waterville, Minnesota USA
[17 Sep 2007] Re: AHI playback
Note: This is an archived post that was originally sent to the Hollywood mailing list on Mon, 17 Sep 2007 19:39:41 -0700 (PDT)
I think PauseMusic() doesn't relinquish control over the AHI drivers. You need to be able to stop the music entirely to relinquish control over PTReplay.library so the child script can access it.
I think PauseMusic() doesn't relinquish control over the AHI drivers. You need to be able to stop the music entirely to relinquish control over PTReplay.library so the child script can access it.
I'm on registered MorphOS using FlowStudio.
[18 Sep 2007] Re: AHI playback
Note: This is an archived post that was originally sent to the Hollywood mailing list on Tue, 18 Sep 2007 08:54:24 +0100
Hello Samuel
I did not told but the main program is playing mp3 and the child is supposed to be play a mod. So it seems to me an AHI problem. Would you try to start two Hollywood application which has sound output? Is there sound output from the second one? With my system there is not.
However if I start more than one DvPlayers then I can hear all of the audio.
Hello Samuel
I did not told but the main program is playing mp3 and the child is supposed to be play a mod. So it seems to me an AHI problem. Would you try to start two Hollywood application which has sound output? Is there sound output from the second one? With my system there is not.
However if I start more than one DvPlayers then I can hear all of the audio.
- airsoftsoftwair
- Posts: 5832
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
[05 Oct 2007] Re: Re: AHI playback
Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 05 Oct 2007 21:16:14 +0200
I'll evaluate the possibilities of creating a version of Hollywood that allows multiple copies of the program playing sound. Currently, this does not seem to be possible with Hollywood 2.5 under OS4. Under MorphOS, one can use a special AHI driver that does on-the-fly mixing if multiple programs write to the audio device. I don't know how OS4 handles this, but at least there's no special driver for it. However, it must be possible under OS4, too, because DvPlayer supports it. I'll check back with the OS4 team on this, and see what I can do for the next version of Hollywood.
I'll evaluate the possibilities of creating a version of Hollywood that allows multiple copies of the program playing sound. Currently, this does not seem to be possible with Hollywood 2.5 under OS4. Under MorphOS, one can use a special AHI driver that does on-the-fly mixing if multiple programs write to the audio device. I don't know how OS4 handles this, but at least there's no special driver for it. However, it must be possible under OS4, too, because DvPlayer supports it. I'll check back with the OS4 team on this, and see what I can do for the next version of Hollywood.