History log of /haiku/src/add-ons/media/plugins/raw_decoder/AudioConversion.cpp
Revision Date Author Comments
# 95080923 15-Aug-2022 Michael Brumbelow <mbrumbelow@mac.com>

Removed 'register' storage class compiler warnings

Change-Id: Iba89a9d0845bf7e816983f903281d33e273f6e35
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5558
Reviewed-by: X512 <danger_mail@list.ru>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# 2e68fbd2 11-Dec-2020 Máximo Castañeda <antiswen@yahoo.es>

Fix wrap for AUDIO_INT

Floats don't have enough precision for all 32 bit integers. In
particular, near INT32_MAX their value is INT32_MAX + 1, which, when
converted back to int becomes INT32_MIN.

Change-Id: Ief3c1177b4f69baac13df5bac977882fea95ae01
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3511
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# aa42ed6e 11-Nov-2007 Jérôme Duval <korli@users.berlios.de>

fix int24 to float conversion : the formula was correct, but the sign bit of int32 doesn't help, and my ears confirmed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22900 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0d1adad3 29-Jun-2005 Marcus Overhagen <marcusoverhagen@gmail.com>

Media Codec API just got a visit from the coding style police.
We now use "const" for the chunk buffer pointer returned by GetNextChunk,
because the buffer is not supposed to be modified by the codec.
size_t is used for the size where applicable. This matches BMediaDecoder.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13361 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a7871de2 25-Dec-2004 beveloper <beveloper@nowhere.fake>

Flushing local repository changes to server. Mostly new copyright headers.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10534 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6736ae52 23-Oct-2004 beveloper <beveloper@nowhere.fake>

This fixes the bugs that crashed nplay and ColdCut during the Begeistert 13 presentation


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9463 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 63dd01d5 29-Feb-2004 beveloper <beveloper@nowhere.fake>

added saturation to float conversion


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6801 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1e078f74 29-Dec-2003 beveloper <beveloper@nowhere.fake>

bugfix


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5801 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bb1d6ef2 27-Dec-2003 beveloper <beveloper@nowhere.fake>

raw decoder supports many samples types now, and support for them
has been added to the file readers, you can now play 24 bit integer
or 64 bit floating point files


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5770 a95241bf-73f2-0310-859d-f6bbb57e9c96


# aa42ed6ec69d6271c949ad9777b36734103c741a 11-Nov-2007 Jérôme Duval <korli@users.berlios.de>

fix int24 to float conversion : the formula was correct, but the sign bit of int32 doesn't help, and my ears confirmed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22900 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0d1adad317d12e39380ee4876ca4b36fd7814901 29-Jun-2005 Marcus Overhagen <marcusoverhagen@gmail.com>

Media Codec API just got a visit from the coding style police.
We now use "const" for the chunk buffer pointer returned by GetNextChunk,
because the buffer is not supposed to be modified by the codec.
size_t is used for the size where applicable. This matches BMediaDecoder.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13361 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a7871de2865df2fb1e5b299a91c0711545fa7d48 25-Dec-2004 beveloper <beveloper@nowhere.fake>

Flushing local repository changes to server. Mostly new copyright headers.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10534 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6736ae524a343f42152863f0a64d05874d2f97f4 23-Oct-2004 beveloper <beveloper@nowhere.fake>

This fixes the bugs that crashed nplay and ColdCut during the Begeistert 13 presentation


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9463 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 63dd01d5f2c2db804ede05fc1fe6600f4f7399c8 29-Feb-2004 beveloper <beveloper@nowhere.fake>

added saturation to float conversion


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6801 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1e078f747a509416c39062f2ea716089ec7807c8 29-Dec-2003 beveloper <beveloper@nowhere.fake>

bugfix


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5801 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bb1d6ef24727b9ee47843143658cd807f290e90c 27-Dec-2003 beveloper <beveloper@nowhere.fake>

raw decoder supports many samples types now, and support for them
has been added to the file readers, you can now play 24 bit integer
or 64 bit floating point files


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5770 a95241bf-73f2-0310-859d-f6bbb57e9c96