diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-02-22 19:53:37 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-02-22 19:53:37 +0000 |
commit | e66a289ca936088b213af8a97603edcb0ab62004 (patch) | |
tree | fe04307ad786b9af16736936c57943a40d3f07a5 /media-tv/xbmc/files | |
parent | Simple url fix for bug #259769 (diff) | |
download | historical-e66a289ca936088b213af8a97603edcb0ab62004.tar.gz historical-e66a289ca936088b213af8a97603edcb0ab62004.tar.bz2 historical-e66a289ca936088b213af8a97603edcb0ab62004.zip |
Upstream has fixed the ALSA bug, so drop our workaround.
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'media-tv/xbmc/files')
-rw-r--r-- | media-tv/xbmc/files/xbmc-alsa-params.patch | 17 |
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); - |