Re: [hatari-devel] SDL1 vs. SDL2 sound pausing |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] SDL1 vs. SDL2 sound pausing
- From: David Savinkoff <dsavnkff@xxxxxxxxx>
- Date: Sat, 10 Sep 2016 17:37:58 -0600 (MDT)
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telus.net; s=neo; t=1473550678; bh=cgF6JgsRwuovsGMMPwiDLLmUevLM+S+RA3nEOZAkgE8=; h=Date:From:To:In-Reply-To:Subject; b=KuHKdOB93dxfZXMFEIwfLb1IKh1M05bMTK9+9Dt73YymkamuBdZ8ITxThK0gukWPD nTI7/gxrrQ3nDELhOAU0Fd+0s4XOH8q1P8wgI8wdl536RclTV7MKIicqwivX0nky48 LIHPT8PeCSpI/ITEJeo2V4IUU2xV0dTO+xtVToRl4JWRju9cJnZEafj4UoO+3sRuOU XOTfLSGXq8TWbc6tY6Ufzc+HBz7tjCPxtIZEbpIuTBdQt2HUv+2eLITcO3DRyzE6vl F268JpU9QmXR7qgJO4eVIHeOF7OAMQNe6D0UMJ8akxBPWThepTZEc7Xvz6Fr6hvLKr ZYPPJu9Lq46BQ==
- Thread-index: gmx2hraJZkB62BGzvcQy8OU308qz8Q==
- Thread-topic: SDL1 vs. SDL2 sound pausing
----- Jerome Vernet wrote:
> Le 10/09/2016 à 21:20, David Savinkoff a écrit :
> > Thomas Huth wrote:
>
> > I think Thomas' patch is correct with a small modification:
> > + else if (nGeneratedSamples == 0 && emulator_paused)
> No, because, in the case of MacOsX menus, emulator is not paused....
>
> JV
Is it possible for MacOsX menus send a pause command to Hatari?
If Hatari is not paused, there may be more than sound problems.
(it looks like MacOsX menus/Hatari need a client/server model )
In Linux it appears that the menus block Hatari, so that the emulation
doesn't need to be paused.