summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Jezak <josejx@gentoo.org>2005-03-06 02:00:06 +0000
committerJoseph Jezak <josejx@gentoo.org>2005-03-06 02:00:06 +0000
commitd5f25ce71f88318db7a7f49425550c6670648437 (patch)
tree3fb5bda2aa19ab789358fe90676960112c9dc55f /media-sound/alsaplayer/files
parentMarked ppc stable for bug #84174. (diff)
downloadhistorical-d5f25ce71f88318db7a7f49425550c6670648437.tar.gz
historical-d5f25ce71f88318db7a7f49425550c6670648437.tar.bz2
historical-d5f25ce71f88318db7a7f49425550c6670648437.zip
Added bigendian patch. See bug #76409.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'media-sound/alsaplayer/files')
-rw-r--r--media-sound/alsaplayer/files/alsaplayer-endian.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/media-sound/alsaplayer/files/alsaplayer-endian.patch b/media-sound/alsaplayer/files/alsaplayer-endian.patch
new file mode 100644
index 000000000000..c42deefeca6c
--- /dev/null
+++ b/media-sound/alsaplayer/files/alsaplayer-endian.patch
@@ -0,0 +1,34 @@
+--- output/alsa-final/alsa.c.old 2004-12-23 13:20:52.238347728 +0900
++++ output/alsa-final/alsa.c 2004-12-23 13:21:15.998735600 +0900
+@@ -173,9 +173,9 @@
+ goto _err;
+ }
+ err = snd_pcm_hw_params_set_format(sound_handle, hwparams,
+- SND_PCM_FORMAT_S16_LE);
++ SND_PCM_FORMAT_S16);
+ if (err < 0) {
+- puts("error on set_format SND_PCM_FORMAT_S16_LE");
++ puts("error on set_format SND_PCM_FORMAT_S16");
+ goto _err;
+ }
+ val = output_rate;
+--- output/alsa-0.5.x/alsa.old 2004-12-23 14:32:41.420252504 +0900
++++ output/alsa-0.5.x/alsa.c 2004-12-23 14:33:07.996212344 +0900
+@@ -121,7 +121,7 @@
+ params.buf.block.frags_min = 1;
+
+ memset(&format, 0, sizeof(format));
+- format.format = SND_PCM_SFMT_S16_LE;
++ format.format = SND_PCM_SFMT_S16;
+ format.rate = output_rate;
+ format.voices = *channels;
+ format.interleave = 1;
+@@ -166,7 +166,7 @@
+ params.start_mode = SND_PCM_START_FULL;
+ params.stop_mode = SND_PCM_STOP_STOP;
+ memset(&format, 0, sizeof(format));
+- format.format = SND_PCM_SFMT_S16_LE;
++ format.format = SND_PCM_SFMT_S16;
+ format.rate = output_rate = rate;
+ format.voices = 2;
+ format.interleave = 1;