Author: jwrdegoede
Update of /cvs/extras/rpms/stormbaancoureur/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15140
Modified Files: .cvsignore sources stormbaancoureur.spec Added Files: stormbaancoureur-2.0.0-pulseaudio.patch Log Message: * Mon Dec 31 2007 Hans de Goede j.w.r.degoede@hhs.nl 2.0.0-1 - New upstream release 2.0.0 - Fix sound when using pulseaudio
stormbaancoureur-2.0.0-pulseaudio.patch:
--- NEW FILE stormbaancoureur-2.0.0-pulseaudio.patch --- --- stormbaancoureur-2.0.0/src-common/soundenginealsa.cxx 2007-10-13 19:38:04.000000000 +0200 +++ stormbaancoureur-2.0.0.new/src-common/soundenginealsa.cxx 2007-12-31 23:15:47.000000000 +0100 @@ -89,8 +90,11 @@ }
snd_pcm_uframes_t frames = framelag; - snd_pcm_hw_params_set_period_size_near(handle, params, &frames, &dir); + snd_pcm_hw_params_set_buffer_size_near(handle, params, &frames);
+ frames = framelag / 10; + snd_pcm_hw_params_set_period_size_near(handle, params, &frames, NULL); + /* Write the parameters to the driver */ rc = snd_pcm_hw_params(handle, params); if (rc < 0) @@ -99,8 +103,8 @@ return; } snd_pcm_hw_params_get_period_size(params, &periodsz, &dir); - batchsize = (int) ceilf(framelag / (float) periodsz); - fprintf(stderr,"soundenginealsa.cxx: requested period %d, got period %d, use batchsize %d\n", framelag, (int) periodsz, batchsize); + batchsize = (int) ceilf((framelag/10) / (float) periodsz); + fprintf(stderr,"soundenginealsa.cxx: requested period %d, got period %d, use batchsize %d\n", framelag/10, (int) periodsz, batchsize);
simplefeed = new SoundFeedSimple(periodsz); complexfeed = new SoundFeedComplex(periodsz);
Index: .cvsignore =================================================================== RCS file: /cvs/extras/rpms/stormbaancoureur/devel/.cvsignore,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- .cvsignore 18 Oct 2007 13:55:55 -0000 1.8 +++ .cvsignore 31 Dec 2007 23:12:02 -0000 1.9 @@ -1 +1 @@ -stormbaancoureur-1.5.3.tar.gz +stormbaancoureur-2.0.0.tar.gz
scm-commits@lists.fedoraproject.org