Ignore:
Timestamp:
09/04/13 22:54:26 (8 years ago)
Author:
Simon Cross <hodgestar@…>
Branch:
default
Phase:
public
Rebase:
61636532363935653466303032623965653436386134313431376436366431336461653439333433
Message:

Add first draft of sound support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/constants.py

    r265 r269  
    88    sound=True,
    99)
     10
     11# Sound constants
     12FREQ = 44100   # same as audio CD
     13BITSIZE = -16  # unsigned 16 bit
     14CHANNELS = 2   # 1 == mono, 2 == stereo
     15BUFFER = 1024  # audio buffer size in no. of samples
    1016
    1117COLLISION_TYPE_OTHER = 0
Note: See TracChangeset for help on using the changeset viewer.