[Bug 269] New: Incorrect int to float conversion in audio_jack_out

View: New views
2 Messages — Rating Filter:   Alert me  

[Bug 269] New: Incorrect int to float conversion in audio_jack_out

by Bugzilla from bugzilla-daemon@xine-project.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://bugs.xine-project.org/show_bug.cgi?id=269

           Summary: Incorrect int to float conversion in audio_jack_out
           Product: xine-lib
           Version: 1.1.16.3
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: Plugins / Audio Output
        AssignedTo: xine-bugs@...
        ReportedBy: Remco.Bloemen@...


Using bitmeter [1] I found that xine's jack output suffers from the problem
mentioned at the bottom of bitmeter's home page. The fix is trivial, change

xine-lib-1.1.16.3/src/audio_out/audio_jack_out.c line 166

to

*p_write = ((float) (p_read[i])) / 32768.0f;

I verified the correct operation after this change.

[1] http://users.ecs.soton.ac.uk/njl98r/code/audio/bitmeter/


--
Configure bugmail: http://bugs.xine-project.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
xine-bugs mailing list
xine-bugs@...
https://lists.sourceforge.net/lists/listinfo/xine-bugs

[Bug 269] Incorrect int to float conversion in audio_jack_out

by Bugzilla from bugzilla-daemon@xine-project.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://bugs.xine-project.org/show_bug.cgi?id=269


Darren Salt <linux@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Darren Salt <linux@...>  2009-10-14 00:57:56 UTC ---
Fixed in current hg.

--
Configure bugmail: http://bugs.xine-project.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
xine-bugs mailing list
xine-bugs@...
https://lists.sourceforge.net/lists/listinfo/xine-bugs