summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-02-22 19:53:37 +0000
committerMike Frysinger <vapier@gentoo.org>2009-02-22 19:53:37 +0000
commit5bb80e2a7aff85c8767376cdf56b40dd6d5acf5a (patch)
treeafc501a7f54a97fe3a61532b6761855727ef686c /media-tv/xbmc/files
parentSimple url fix for bug #259769 (diff)
downloadgentoo-2-5bb80e2a7aff85c8767376cdf56b40dd6d5acf5a.tar.gz
gentoo-2-5bb80e2a7aff85c8767376cdf56b40dd6d5acf5a.tar.bz2
gentoo-2-5bb80e2a7aff85c8767376cdf56b40dd6d5acf5a.zip
Upstream has fixed the ALSA bug, so drop our workaround.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'media-tv/xbmc/files')
-rw-r--r--media-tv/xbmc/files/xbmc-alsa-params.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/media-tv/xbmc/files/xbmc-alsa-params.patch b/media-tv/xbmc/files/xbmc-alsa-params.patch
deleted file mode 100644
index a15a4b95474a..000000000000
--- a/media-tv/xbmc/files/xbmc-alsa-params.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-http://xbmc.org/trac/ticket/5946
-http://xbmc.org/forum/archive/index.php/t-29076.html
-
-we cannot call snd_pcm_bytes_to_frames() as it requires the hw_params to be
-committed via snd_pcm_hw_params() as that is what sets up pcm->frame_bits
-
---- XBMC/xbmc/cores/AudioRenderers/ALSADirectSound.cpp
-+++ XBMC/xbmc/cores/AudioRenderers/ALSADirectSound.cpp
-@@ -200,7 +200,7 @@
- nErr = snd_pcm_hw_params_set_period_size_near(m_pPlayHandle, hw_params, &m_maxFrames, 0);
- CHECK_ALSA_RETURN(LOGERROR,"hw_params_set_period_size",nErr);
-
-- m_BufferSize = snd_pcm_bytes_to_frames(m_pPlayHandle,m_dwPacketSize * 10); // buffer big enough - but not too big...
-+ m_BufferSize = m_dwPacketSize * 10; // buffer big enough - but not too big...
- nErr = snd_pcm_hw_params_set_buffer_size_near(m_pPlayHandle, hw_params, &m_BufferSize);
- CHECK_ALSA_RETURN(LOGERROR,"hw_params_set_buffer_size",nErr);
-