From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.fr7!futter-mich.highwinds-media.com!news.highwinds-media.com!fx31.fr7.POSTED!not-for-mail Subject: Re: any mp3 library bindings? Newsgroups: comp.lang.ada References: <700bcb87-ac25-499e-a60a-ca18dbe088c4@googlegroups.com> <43129caa-129b-4c25-94ea-2476023cad4a@googlegroups.com> From: Per Sandberg User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <43129caa-129b-4c25-94ea-2476023cad4a@googlegroups.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Message-ID: X-Complaints-To: abuse@usenet.se NNTP-Posting-Date: Sat, 24 Feb 2018 14:52:19 UTC Organization: usenet.se Date: Sat, 24 Feb 2018 15:52:19 +0100 X-Received-Bytes: 1768 X-Received-Body-CRC: 2912913579 X-Original-Bytes: 1717 Xref: reader02.eternal-september.org comp.lang.ada:50622 Date: 2018-02-24T15:52:19+01:00 List-Id: Den 2018-02-23 kl. 00:53, skrev Qunying: > On Friday, February 9, 2018 at 3:25:40 PM UTC-8, Stephen Leake wrote: >> On Thursday, February 8, 2018 at 10:49:50 AM UTC-6, Per Sandberg wrote: >>> Well gave it some 30 minutes and ended up with a 1:1 mapping of between >>> Ada-specs and C-headers? >>> >>> https://github.com/persan/a-ffmpeg >> >> I tried writing my own subset of that, since I only need a few subprograms. It linked against the mingw32 ffmpeg libraries, but crashed at runtime, before the GNAT debugger got control. >> >> So I wrote my own ID3 parser (http://id3.org/d3v2.3.0); much simpler, and it works! >> >> -- Stephe > > There is taglib that does the work for you, it is C only though. > http://taglib.org/ > Well i had to generate a binding to "http://taglib.org/" And the API is Ada-style. See: https://github.com/persan/a-taglib