[OpenSmalltalk/opensmalltalk-vm] 564777: Win32 SoundPlugin:

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[OpenSmalltalk/opensmalltalk-vm] 564777: Win32 SoundPlugin:

Eliot Miranda-3
 
  Branch: refs/heads/Cog
  Home:   https://github.com/OpenSmalltalk/opensmalltalk-vm
  Commit: 564777b9465f67aea28888f290e14caf509560f2
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/564777b9465f67aea28888f290e14caf509560f2
  Author: Eliot Miranda <[hidden email]>
  Date:   2020-12-30 (Wed, 30 Dec 2020)

  Changed paths:
    M platforms/win32/plugins/SoundPlugin/sqWin32DPRINTF.h
    M platforms/win32/plugins/SoundPlugin/sqWin32Sound.c

  Log Message:
  -----------
  Win32 SoundPlugin:
Do not release and recreate the DirectSoundCapture8 instance and CaptureBuffer
on start/stop recording.  Do release them on plugin shutdown. If interperating
with the Terf AEC code do make sure that both the DirectX and the AEC recording
state is shutdown on stop recording.  Complexify the logging support to separate
logging of input/microphone from that of output/speaker, and to separate out
verbose logging from state change logging.  The macrology for this is still in
progress cuz one has to control it with the SOundPlugin Makefile.

If the DirectSoundCapture8 instance and CaptureBuffer are released and recreated
on stop recording then after only a handful of sutch releases CaptureBuffer
allocation fails once.  It can be fixed by subsequent release/recreation after
a few minutes, but there is a debilitating period when input is broken.


  Commit: 85708ef49584576d6ddbc575c068b044eaf19108
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/85708ef49584576d6ddbc575c068b044eaf19108
  Author: Eliot Miranda <[hidden email]>
  Date:   2020-12-30 (Wed, 30 Dec 2020)

  Changed paths:
    M platforms/iOS/vm/OSX/sqSqueakOSXApplication.m

  Log Message:
  -----------
  Merge branch 'Cog' of https://github.com/OpenSmalltalk/opensmalltalk-vm into Cog


Compare: https://github.com/OpenSmalltalk/opensmalltalk-vm/compare/5479a787d03b...85708ef49584