gbishop / outfox

Automatically exported from code.google.com/p/outfox
Other
1 stars 0 forks source link

Audio base class #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A lot of the message processing code is duplicated across the platform
channel files now that nix and win32 are not using threads. Put this code
in a common channel base class to reduce complexity.

Original issue reported on code.google.com by c...@unc.edu on 10 Aug 2008 at 7:49

GoogleCodeExporter commented 9 years ago

Original comment by c...@unc.edu on 10 Aug 2008 at 8:04

GoogleCodeExporter commented 9 years ago
Added base class shared by all three channel.py files. Still need a subclass 
that
will be shared by pygame implementations such as nix and win32. The channel.py 
for
these two platforms is practically the same, except for the speech engine used.

Original comment by c...@unc.edu on 10 Aug 2008 at 11:57

GoogleCodeExporter commented 9 years ago
Added pygchannel module to common/ with a PygameChannelBase class containing 
all of
the shared pygame code. The class invokes a few private methods that the win32 
and
nix ChannelController classes define to deal with their respective speech 
engines.
The abstract base classes are lazily defined right now, and lack many of the 
methods
they expect to find in subclasses.

Original comment by c...@unc.edu on 16 Aug 2008 at 6:22