Csound Csound-dev Csound-tekno Search About

[Csnd] Updated libsndfile-android

Date2013-07-28 15:07
FromSteven Yi
Subject[Csnd] Updated libsndfile-android
Hi All,

(Crossposting as this affects both devs and users)

I've been corresponding and working together with Hector Centeno
regarding a bug with libsndfile on Android. We managed to modify the
sources enough to get things compiling and working.  (Essentially, the
size of SF_COUNT_T was getting set to off_t, and we modified things to
set it to off64_t, including some checks).  The context of this is
that sound files weren't loading with libsndfile correctly, reporting
odd values from the header.  This change should fix things up.

For devs: the source at the bitbucket repo
(https://bitbucket.org/kunstmusik/libsndfile-android) has been
updated.  Please pull the latest or use the downloadDependencies.sh
script.)

The next release of Csound for Android (6.01)  will have the fix.

Thanks!
steven

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Date2013-07-31 10:19
FromErik de Castro Lopo
SubjectRe: [Cs-dev] Updated libsndfile-android
Steven Yi wrote:

> I've been corresponding and working together with Hector Centeno
> regarding a bug with libsndfile on Android. We managed to modify the
> sources enough to get things compiling and working.  (Essentially, the
> size of SF_COUNT_T was getting set to off_t, and we modified things to
> set it to off64_t, including some checks).  The context of this is
> that sound files weren't loading with libsndfile correctly, reporting
> odd values from the header.  This change should fix things up.

I would prefer not to see the propagation of two independent versions
of the libsndfile sources. I do however understand that this situation
may have partially arisen due to this FAQ answer:

    http://www.mega-nerd.com/libsndfile/FAQ.html#Q019

Maybe I need to revise that.

Anyway, the cannonical libsndfile sources at:

   https://github.com/erikd/libsndfile

now include an Android configure script wrapper so that cross building
libsndfile for Android from Linux (and probably Mac) is as simple as:

   Scripts/android-configure.sh
   make

In addidion the 'make test-tarball' make target now generates a tarball
containing that can be copied to the target host, un-tarred and run.

BTW, it was Hector Centeno's questions on the libsndfile-devel mailing
list that eventually led me here.

Cheers,
Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-08-01 23:53
FromSteven Yi
SubjectRe: [Cs-dev] Updated libsndfile-android
Hi Erik,

I'd rather prefer not to have an independent version as well!  I've
added ticket 31 so that one of us can take a look at moving over to
using the main libsndfile git repo:

https://sourceforge.net/p/csound/tickets/31/

Thanks!
steven


On Wed, Jul 31, 2013 at 11:19 AM, Erik de Castro Lopo
 wrote:
> Steven Yi wrote:
>
>> I've been corresponding and working together with Hector Centeno
>> regarding a bug with libsndfile on Android. We managed to modify the
>> sources enough to get things compiling and working.  (Essentially, the
>> size of SF_COUNT_T was getting set to off_t, and we modified things to
>> set it to off64_t, including some checks).  The context of this is
>> that sound files weren't loading with libsndfile correctly, reporting
>> odd values from the header.  This change should fix things up.
>
> I would prefer not to see the propagation of two independent versions
> of the libsndfile sources. I do however understand that this situation
> may have partially arisen due to this FAQ answer:
>
>     http://www.mega-nerd.com/libsndfile/FAQ.html#Q019
>
> Maybe I need to revise that.
>
> Anyway, the cannonical libsndfile sources at:
>
>    https://github.com/erikd/libsndfile
>
> now include an Android configure script wrapper so that cross building
> libsndfile for Android from Linux (and probably Mac) is as simple as:
>
>    Scripts/android-configure.sh
>    make
>
> In addidion the 'make test-tarball' make target now generates a tarball
> containing that can be copied to the target host, un-tarred and run.
>
> BTW, it was Hector Centeno's questions on the libsndfile-devel mailing
> list that eventually led me here.
>
> Cheers,
> Erik
> --
> ----------------------------------------------------------------------
> Erik de Castro Lopo
> http://www.mega-nerd.com/
>
> ------------------------------------------------------------------------------
> Get your SQL database under version control now!
> Version control is standard for application code, but databases havent
> caught up. So what steps can you take to put your SQL databases under
> version control? Why should you start doing it? Read more to find out.
> http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-08-02 00:01
FromErik de Castro Lopo
SubjectRe: [Cs-dev] Updated libsndfile-android
Steven Yi wrote:

> Hi Erik,
> 
> I'd rather prefer not to have an independent version as well!  I've
> added ticket 31 so that one of us can take a look at moving over to
> using the main libsndfile git repo:
> 
> https://sourceforge.net/p/csound/tickets/31/

Great, thanks.

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net