[GnomeMeeting-devel-list] [PATCH]: fix big endian build in pwlib/plugins/src/sound_alsa.cxx



Hi,

It isn't clear where the right place to send this.  This looks like a
simple copy and paste error.  This is based on the
pwlib-cvs_20030916.CVS-1 Debian source packages.

-David

--- plugins/src/sound_alsa.cxx.orig	2003-09-30 16:02:10.000000000 +0200
+++ plugins/src/sound_alsa.cxx	2003-09-30 16:02:25.000000000 +0200
@@ -380,7 +380,7 @@
 #if PBYTE_ORDER == PLITTLE_ENDIAN
   val = (mBitsPerSample == 16) ? SND_PCM_FORMAT_S16_LE : SND_PCM_FORMAT_U8;
 #else
-  val = (mbitsPerSample == 16) ? SND_PCM_FORMAT_S16_BE : SND_PCM_FORMAT_U8;
+  val = (mBitsPerSample == 16) ? SND_PCM_FORMAT_S16_BE : SND_PCM_FORMAT_U8;
 #endif
 
   frame_bytes = (mNumChannels * (snd_pcm_format_width (val) / 8));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]