Mercurial > pidgin.yaz
changeset 13543:d05d8bcabbfb
[gaim-migrate @ 15920]
I've learned that G_HAVE_GINT64 has been deprecated since glib 2.0. gint64 is always available. I'm submitting patches to update glib's documentation.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Tue, 21 Mar 2006 03:01:37 +0000 |
parents | 2235ada6c746 |
children | 46559ab11aed |
files | src/gtksound.c |
diffstat | 1 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtksound.c Tue Mar 21 02:43:35 2006 +0000 +++ b/src/gtksound.c Tue Mar 21 03:01:37 2006 +0000 @@ -407,9 +407,7 @@ float v; gint16 *data16 = (gint16*)data; gint32 *data32 = (gint32*)data; -#ifdef G_HAVE_GINT64 gint64 *data64 = (gint64*)data; -#endif switch(bits) { case 16: @@ -438,7 +436,6 @@ data32[i]=(gint32)v; } break; -#ifdef G_HAVE_GINT64 case 64: for(i = 0; i < nframes * channels; i++) { v = ((data64[i] - intercept) * scale) + intercept; @@ -452,7 +449,6 @@ data64[i]=(gint64)v; } break; -#endif default: gaim_debug_warning("gtksound", "Scaling of %d bit pcm data not supported.\n", bits); break;