Commit Graph

16 Commits

Author SHA1 Message Date
Guy Harris aecfc9cf43 Clean up indentation.
Fix typos.

Null out "pa_stream" when the stream is closed; this appears to prevent
some crashes.

svn path=/trunk/; revision=19633
2006-10-20 18:18:50 +00:00
Guy Harris 62d7ab40f6 Don't destroy something if it doesn't exist.
svn path=/trunk/; revision=19632
2006-10-20 17:56:21 +00:00
Guy Harris 89b99ff3f2 Don't pass an uninitialized string to gtk_widget_create_pango_layout();
it supports NULL for "no text".

svn path=/trunk/; revision=19631
2006-10-20 17:47:28 +00:00
Guy Harris 0d9a445fee Don't do things with the RTP channels hash table if it hasn't been
created yet.

svn path=/trunk/; revision=19630
2006-10-20 17:30:27 +00:00
Guy Harris ff780d78f3 Fix the progress bars.
svn path=/trunk/; revision=19629
2006-10-20 17:12:52 +00:00
Ulf Lamping a1b7a22a8e from Stephen Fisher:
Here is a patch for spelling typos in comments and strings in the gtk/ 
directories.

svn path=/trunk/; revision=19568
2006-10-17 01:29:55 +00:00
Jörg Mayer 926ed8aa01 Alejandro Vaquero:
Add portaudio v19 support in addition to v18:

   Here is a patch using the API 2 (v19). I tested it only in Windows.
Attached also the Windows v19 zip file used. I did not modify the
Makefile.nmake to download this new version (when running the "setup"),
because Windows v18 it is still good.


svn path=/trunk/; revision=19446
2006-10-07 14:24:32 +00:00
Guy Harris 2ac8761978 Include "rtp_player.h" in "voip_calls.c" if we're supporting the RTP
player, so that we get declartions of rtp_player_init() and
add_rtp_packet().

Constify the first argument to add_rtp_packet(), as it's passed a
pointer to a const value.

svn path=/trunk/; revision=19272
2006-09-21 17:39:17 +00:00
Jörg Mayer 72651ba02d rtp_player.c will now compile with the new API, although it will not
actually do something useful except to print that the new API is not
supported.

Adapt acinclude.m4 to provide PORTAUDIO_API_1 and add back the
check_message to indicate *why* we are checking for the type.


svn path=/trunk/; revision=19148
2006-09-05 09:17:55 +00:00
Guy Harris bec8422102 Comment #endifs so you can tell what they match.
svn path=/trunk/; revision=19144
2006-09-04 23:23:16 +00:00
Anders Broman 9c3b0ae91e Correct some typos and add some comments.
svn path=/trunk/; revision=19135
2006-09-04 18:04:10 +00:00
Jörg Mayer abb600e95b The previous way of (not) including portaudio support didn't
work reliably (at least it didn't work on my system).
Change it to just wrap the rtp_player.[hc] files into a
#if defined(...) #endif.


svn path=/trunk/; revision=19134
2006-09-04 14:19:12 +00:00
Jörg Mayer cdc492554c Ad $Id: § and reorder and reformat some comments in the header.
svn path=/trunk/; revision=19127
2006-09-03 15:41:42 +00:00
Guy Harris 14a7431051 Squelch compiler warnings, and get rid of unused variables and
declarations.

Define functions with no arguments as such.

Clean up white space.

Declare tables in the codec .h files.

svn path=/trunk/; revision=19118
2006-09-02 07:18:16 +00:00
Guy Harris 0ec3e5661f Move the codecs into a top-level "codecs" subdirectory; there's no
guarantee that all programs using the codecs will necessarily be using
GTK+.

svn path=/trunk/; revision=19117
2006-09-02 06:39:43 +00:00
Anders Broman 55ddc3dd59 From Alejandro Vaquero:
- Change the "listen_rtp" to "rtp_player"
- Change from a plugin to be part of the core
- By default it will not compile with the rtp_player. In order to 
compile it is necessary to:
       + For windows: uncomment the line 
"PORTAUDIO_DIR=$(WIRESHARK_LIBS)\portaudio_v18_1" in config.nmake
       + For linux: using the "--with-portaudio=yes"

svn path=/trunk/; revision=19093
2006-08-30 20:50:37 +00:00