[
http://dev.sourcefabric.org/browse/LS-612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21696#action_21696
]
Vittee Nakka edited comment on LS-612 at 3/2/12 7:08 PM:
---------------------------------------------------------
Hi,
I've looked into ocaml-flac source code and noticed that flac_stub.c does not
handle 24 bit flac properly.
Here's just a dirty and quick fix (decoding only).
at function:
static inline double sample_to_double(FLAC__int32 x, unsigned bps)
at line 400 add this case to switch statement
case 24:
return (((double)x)/0x007fffffL);
and, TADA! 24 bit FLAC files are now decoded properly, I can hear it loudly and
clearly :)
was (Author: vittee):
Hi,
I've looked into ocaml-flac source code and noticed that flac_stub.c does not
handle 24 bit flac properly.
Here's just a dirty and quick fix (decoding only).
at function:
static inline double sample_to_double(FLAC__int32 x, unsigned bps)
at line 400 at this case to switch statement
case 24:
return (((double)x)/0x007fffffL);
and, TADA! 24 bit FLAC files are now decoded properly, I can hear it loudly and
clearly :)
> FLAC with 24 bit decoded audio volume is too low.
> -------------------------------------------------
>
> Key: LS-612
> URL: http://dev.sourcefabric.org/browse/LS-612
> Project: Liquidsoap
> Issue Type: Bug
> Environment: CentOS 5.5, libsamplerate-0.1.8, flac-1.2.1
> Reporter: Vittee Nakka
> Assignee: Romain Beauxis
> Attachments: flac24-mrteam.zip
>
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://dev.sourcefabric.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Savonet-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-devl