~ubuntu-branches/ubuntu/jaunty/speech-tools/jaunty

« back to all changes in this revision

Viewing changes to audio/gen_audio.cc

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Urlichs
  • Date: 2004-07-16 09:25:39 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20040716092539-5p1tzif55b8j924e
Tags: 1:1.2.3-8
Added alaw processing code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
/*=======================================================================*/
39
39
 
40
40
#include <stdlib.h>
41
 
#include <iostream.h>
 
41
#include <iostream>
42
42
#include <string.h>
43
43
#include <math.h>
44
44
#include <fcntl.h>
138
138
static int play_socket_wave(EST_Wave &inwave, EST_Option &al)
139
139
{
140
140
    // Send inwave down the given fd (a socket)
141
 
    int fd;
 
141
    SOCKET_FD fd;
142
142
    EST_String otype;
143
143
    EST_String tmpfile = make_tmp_filename();
144
144