July 04, 2016 Re: one-file pure D decoders for vorbis, flac and mp3 | ||||
---|---|---|---|---|
| ||||
Posted in reply to sam | On Monday, 4 July 2016 at 05:16:50 UTC, sam wrote:
> https://my.mixtape.moe/cjekko.mp3
pushed small update, it works now. i accidentally forgot to include ID3v2 tag skiping at all, sorry! ;-)
thank you for report, feel free to report even more! ;-)
|
July 04, 2016 Re: one-file pure D decoders for vorbis, flac and mp3 | ||||
---|---|---|---|---|
| ||||
Posted in reply to ketmar | On Monday, 4 July 2016 at 07:33:19 UTC, ketmar wrote:
> for me, test player is happy playing 7-Zip archives as mp3s, for example. ;-)
lol, does that sounds like if an hard-knee compressor limits the output ?
|
July 04, 2016 Re: one-file pure D decoders for vorbis, flac and mp3 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Basile B. | On Monday, 4 July 2016 at 08:18:29 UTC, Basile B. wrote:
> On Monday, 4 July 2016 at 07:33:19 UTC, ketmar wrote:
>> for me, test player is happy playing 7-Zip archives as mp3s, for example. ;-)
>
> lol, does that sounds like if an hard-knee compressor limits the output ?
i'd say that it is like compressed industrial death metal.
|
July 05, 2016 Re: one-file pure D decoders for vorbis, flac and mp3 | ||||
---|---|---|---|---|
| ||||
Posted in reply to ketmar | On Monday, 4 July 2016 at 08:01:06 UTC, ketmar wrote: > On Monday, 4 July 2016 at 05:16:50 UTC, sam wrote: >> https://my.mixtape.moe/cjekko.mp3 > > pushed small update, it works now. i accidentally forgot to include ID3v2 tag skiping at all, sorry! ;-) > > thank you for report, feel free to report even more! ;-) Wow that was a quick fix. Thanks! The only other problem I found was in order to compile your lib I had to add a cast in two places: > sblimit = ((ptr - g.sb_hybrid.ptr) / 18) + 1; turned to > sblimit = cast(int)(((ptr - g.sb_hybrid.ptr) / 18) + 1); and > return nb_frames * 32 * uint16_t.sizeof * s.nb_channels; turned to > return cast(int)(nb_frames * 32 * uint16_t.sizeof * s.nb_channels); This was the only way I could get it to compile on DMD64 D Compiler v2.071.1 / LDC - the LLVM D compiler (1.0.0). There are a lot more errors in the gdc version mainly about pragma. But i'm not using GDC so not too concerned. |
July 07, 2016 Re: one-file pure D decoders for vorbis, flac and mp3 | ||||
---|---|---|---|---|
| ||||
Posted in reply to sam | On Tuesday, 5 July 2016 at 09:04:38 UTC, sam wrote: > This was the only way I could get it to compile on DMD64 D Compiler v2.071.1 / > LDC - the LLVM D compiler (1.0.0). yep, i forgot to test it with 64-bit compiler, sorry. i fixed all three decoders now. > There are a lot more errors in the gdc version mainly about pragma. yep, `pragma(inline, true);` is not supported by gdc yet. still, i added condition to all pragmas, so it should work with GDC now. |
Copyright © 1999-2021 by the D Language Foundation