[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog backend/sound_handler_sdl.cpp
From: |
Martin Guy |
Subject: |
[Gnash-commit] gnash ChangeLog backend/sound_handler_sdl.cpp |
Date: |
Wed, 18 Apr 2007 20:56:39 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Martin Guy <martinwguy> 07/04/18 20:56:39
Modified files:
. : ChangeLog
backend : sound_handler_sdl.cpp
Log message:
backend/sound_handler_sdl.cpp: Remove commented-out stuff
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2920&r2=1.2921
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/sound_handler_sdl.cpp?cvsroot=gnash&r1=1.51&r2=1.52
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.2920
retrieving revision 1.2921
diff -u -b -r1.2920 -r1.2921
--- ChangeLog 18 Apr 2007 20:25:51 -0000 1.2920
+++ ChangeLog 18 Apr 2007 20:56:39 -0000 1.2921
@@ -35,6 +35,7 @@
* libbase/container.h, doc/C/actionscript/as_value.xml:
Expunge the last references to tu_string.
* libbase/tu_file.h: Purge endian dependence, add \brief to methods.
+ * backend/sound_handler_sdl.cpp: Remove commented-out stuff
2007-04-18 Udo Giacomozzi <address@hidden>
Index: backend/sound_handler_sdl.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/sound_handler_sdl.cpp,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -b -r1.51 -r1.52
--- backend/sound_handler_sdl.cpp 18 Apr 2007 09:35:41 -0000 1.51
+++ backend/sound_handler_sdl.cpp 18 Apr 2007 20:56:39 -0000 1.52
@@ -18,7 +18,7 @@
// Based on sound_handler_sdl.cpp by Thatcher Ulrich http://tulrich.com 2003
// which has been donated to the Public Domain.
-// $Id: sound_handler_sdl.cpp,v 1.51 2007/04/18 09:35:41 jgilmore Exp $
+// $Id: sound_handler_sdl.cpp,v 1.52 2007/04/18 20:56:39 martinwguy Exp $
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -520,17 +520,6 @@
// input data to the SDL output format (SAMPLE_RATE,
// stereo, 16-bit native endianness)
{
-// // xxxxx debug pass-thru
-// {
-// int output_sample_count = sample_count * (stereo ?
2 : 1);
-// int16_t* out_data = new
int16_t[output_sample_count];
-// *adjusted_data = out_data;
-// *adjusted_size = output_sample_count * 2; // 2
bytes per sample
-// memcpy(out_data, data, *adjusted_size);
-// return;
-// }
-// // xxxxx
-
bool m_stereo = (audioSpec.channels == 2 ? true : false);
int m_sample_rate = audioSpec.freq;
@@ -559,7 +548,6 @@
dup = m_sample_rate / sample_rate;
}
-// int output_sample_count = (sample_count * dup) / inc;
int output_sample_count = (sample_count * dup * (stereo ? 2 : 1)) /
inc;
int16_t* out_data = new int16_t[output_sample_count];
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash ChangeLog backend/sound_handler_sdl.cpp,
Martin Guy <=