Re: Need some programming help.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



only a guessimg but is there a snprintf involved anywhere to format the value for output? look at other values displayed by Yoshimi gui to see how they're done. it may be the format string has a straight %f rather than%.2f. just a guess and sorry if you've looked at this already.

On Nov 18, 2013 9:14 PM, "Will Godfrey" <willgodfrey@xxxxxxxxxxxxxxx> wrote:
I've been slowing working my way though Yoshimi, looking for bugs and trying
to understand the code, with some success. However, I've come across something
that has me completely stumped.

On a modern machine if you look in the AdSynth edit window 'Detune' shows a
variable number of trailing digits, where it should only show 2 after the
decimal point. This is also true of all cases where a recalculated slider value
is indirectly shown in an associated uneditable box. It happens nowhere else.

I've seen this on 64bit dual core AMDs and on 32bit Atoms. However, on an
AthlonXP the problem doesn't occur.

At first I thought it might be due to different version of FLTK but having tried
various releases of debian, from 'lenny' up to the current 'testing', the
*only* differentiating feature I can discover is that the AthlonXP doesn't
recognise the sse flag.

Finally, to add to the confusion, compiling on any of the other machines,
without the sse flag set, still produces the fault - I'm wondering if even
without this, some math feature is still being used that causes the fault.

Any help or suggestions would be gratefully welcomed!

--
Will J Godfrey
http://www.musically.me.uk
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux