old_contents: #!/usr/bin/env python
  #
  # (C) 2004 British Broadcasting Corporation and Kamaelia Contributors(1)
  #     All Rights Reserved.
  #
  # You may only modify and redistribute this under the terms of any of the
  # following licenses(2): Mozilla Public License, V1.1, GNU General
  # Public License, V2.0, GNU Lesser General Public License, V2.1
  #
  # (1) Kamaelia Contributors are listed in the AUTHORS file and at
  #     http://kamaelia.sourceforge.net/AUTHORS - please extend this file,
  #     not this notice.
  # (2) Reproduced in the COPYING file, and at:
  #     http://kamaelia.sourceforge.net/COPYING
  # Under section 3.5 of the MPL, we are using this text since we deem the MPL
  # notice inappropriate for this file. As per MPL/GPL/LGPL removal of this
  # notice is prohibited.
  #
  # Please contact us via: kamaelia-list-owner@lists.sourceforge.net
  # to discuss alternative licensing.
  # -------------------------------------------------------------------------
  
  from Audio.PyMedia.Input import Input
  from Audio.PyMedia.Output import Output
  
  from Kamaelia.Chassis.Pipeline import Pipeline
  
  Pipeline( Input(sample_rate=44100, channels=1, format="S16_LE"),
            Output(sample_rate=44100, channels=1, format="U8"),
          ).run()
  
new_contents: #!/usr/bin/env python
  #
  # (C) 2004 British Broadcasting Corporation and Kamaelia Contributors(1)
  #     All Rights Reserved.
  #
  # You may only modify and redistribute this under the terms of any of the
  # following licenses(2): Mozilla Public License, V1.1, GNU General
  # Public License, V2.0, GNU Lesser General Public License, V2.1
  #
  # (1) Kamaelia Contributors are listed in the AUTHORS file and at
  #     http://kamaelia.sourceforge.net/AUTHORS - please extend this file,
  #     not this notice.
  # (2) Reproduced in the COPYING file, and at:
  #     http://kamaelia.sourceforge.net/COPYING
  # Under section 3.5 of the MPL, we are using this text since we deem the MPL
  # notice inappropriate for this file. As per MPL/GPL/LGPL removal of this
  # notice is prohibited.
  #
  # Please contact us via: kamaelia-list-owner@lists.sourceforge.net
  # to discuss alternative licensing.
  # -------------------------------------------------------------------------
  
  from Audio.PyMedia.Input import Input
  from Audio.PyMedia.Output import Output
  
  from Kamaelia.Chassis.Pipeline import Pipeline
  
  Pipeline( Input(sample_rate=8000, channels=1, format="S16_LE"),
            Output(sample_rate=8000, channels=1, format="S16_LE"),
          ).run()
  
subject: Fix so both input and output are the same format!