~ubuntu-branches/ubuntu/natty/fofix-dfsg/natty

« back to all changes in this revision

Viewing changes to src/Audio.py

  • Committer: Bazaar Package Importer
  • Author(s): Devid Antonio Filoni
  • Date: 2011-03-30 16:43:20 UTC
  • Revision ID: james.westby@ubuntu.com-20110330164320-9k6v1t6gjnd4bn9t
Tags: 3.121-2ubuntu1
Update no_numeric_module patch to fix guitar track reproduction,
LP: #662112.

Show diffs side-by-side

added added

removed removed

Lines of Context:
228
228
#   def zeros(size):
229
229
#     return Numeric.zeros(size, typecode='s')   #myfingershurt: typecode s = short = int16
230
230
# else:
231
 
  import numpy
232
 
  def zeros(size):
233
 
    return numpy.zeros(size, dtype='h')
 
231
import numpy
 
232
def zeros(size):
 
233
  return numpy.zeros(size, dtype='h')
234
234
 
235
235
#stump: mic passthrough
236
236
class MicrophonePassthroughStream(Sound, Task):