patches/thunderbird3-21-sunaudio-sparc.diff
author yippi
Mon, 27 Sep 2010 21:07:51 +0000
changeset 20108 51df67ca9307
parent 15804 f2c1d297757d
permissions -rw-r--r--
I had these modules listed as being owned by me, but they are really owned by wangke, correcting.

diff -r 5a8a199bd62a media/libsydneyaudio/src/sydney_audio_sunaudio.c
--- a/media/libsydneyaudio/src/sydney_audio_sunaudio.c	Tue Apr 28 01:37:02 2009 +0200
+++ b/media/libsydneyaudio/src/sydney_audio_sunaudio.c	Tue Apr 28 18:40:54 2009 +0800
@@ -114,17 +114,17 @@ sa_stream_create_pcm(
   if (_s == NULL) 
     return SA_ERROR_INVALID;
 
   *_s = NULL;
 
   if (mode != SA_MODE_WRONLY) 
     return SA_ERROR_NOT_SUPPORTED;
 
-  if (format != SA_PCM_FORMAT_S16_LE) 
+  if (format != SA_PCM_FORMAT_S16_LE && format != SA_PCM_FORMAT_S16_BE) 
     return SA_ERROR_NOT_SUPPORTED;
 
   /*
    * Allocate the instance and required resources.
    */
   if ((s = malloc(sizeof(sa_stream_t))) == NULL) 
     return SA_ERROR_OOM;