Re: [GnomeMeeting-list] PPC - pwlib --enable-plugins



On jeu, 2004-02-12 at 08:09, Zeno R.R. Davatz wrote:

> sound_alsa.cxx:283: `mbitsPerSample' undeclared (first use this function)
> sound_alsa.cxx:283: (Each undeclared identifier is reported only once for each
>    function it appears in.)

The following patch will fix the problem ; please someone apply to
pwlib's cvs quick!

Snark
diff -ur pwlib-cvs-20040210.CVS/plugins/sound_alsa/sound_alsa.cxx pwlib-cvs-20040210.CVS.patched/plugins/sound_alsa/sound_alsa.cxx
--- pwlib-cvs-20040210.CVS/plugins/sound_alsa/sound_alsa.cxx	2004-01-04 21:59:30.000000000 +0100
+++ pwlib-cvs-20040210.CVS.patched/plugins/sound_alsa/sound_alsa.cxx	2004-02-12 08:32:32.000000000 +0100
@@ -280,7 +280,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]