Re: [GnomeMeeting-devel-list] [PATCH]: fix big endian build in pwlib/plugins/src/sound_alsa.cxx
- From: Damien Sandras <dsandras seconix com>
- To: gnomemeeting-devel-list gnome org
- Subject: Re: [GnomeMeeting-devel-list] [PATCH]: fix big endian build in pwlib/plugins/src/sound_alsa.cxx
- Date: 30 Sep 2003 17:42:10 +0200
Hi,
Thanks for that patch!
It will be applied to the ALSA plugin as soon as the definitive system
will have been merged in their CVS.
Thank you,
PS: yes, it is the right place to discuss development and send patches.
Le mar 30/09/2003 à 16:47, David Kimdon a écrit :
> 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));
> _______________________________________________
> Gnomemeeting-devel-list mailing list
> Gnomemeeting-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnomemeeting-devel-list
--
_ Damien Sandras
(o- GnomeMeeting: http://www.gnomemeeting.org/
//\ FOSDEM 2003: http://www.fosdem.org
v_/_ H.323 phone: callto://ils.seconix.com/dsandras seconix com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]