Hello.

I was in #lad on freenode trying to solicit help for ALSA's MIDI issues
and torbenh3 offered the attached patch against trunk to prevent Mixxx
from going silent when playing a float WAV that clips.

He also suggests to make use of Qt4's pkg-config files and do away with
the whole QTDIR business, for those of you working on SCons script
re-factoring.

Sean

<<--------------------------------------------------------------------------------->>
This E-Mail message has been scanned for viruses
and cleared by >>SmartMail<< from Smarter Technology, Inc.
<<--------------------------------------------------------------------------------->>
Index: mixxx/src/soundsourcesndfile.cpp
===================================================================
--- mixxx/src/soundsourcesndfile.cpp	(revision 2748)
+++ mixxx/src/soundsourcesndfile.cpp	(working copy)
@@ -36,6 +36,7 @@
     }
 
     channels = info->channels;
+    sf_command (fh, SFC_SET_SCALE_FLOAT_INT_READ, NULL, SF_TRUE) ;
 
     filelength = 2*info->frames; // File length with two interleaved channels
     SRATE =  info->samplerate;
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
Mixxx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to