History log of /system/media/audio_utils/tinysndfile.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d190da511b137d315e8e60b1e1a772444b26bedb 14-Dec-2015 Glenn Kasten <gkasten@google.com> Use FCC_2 and FCC_8 to highlight channel count assumptions

Bug: 21656069
Change-Id: I3486b9e48856d703d1ff37f509ab7f1140a6a146
/system/media/audio_utils/tinysndfile.c
ec4eddf679062301d5d3bf955bb5cf5a47f2ff72 19-Jun-2015 Glenn Kasten <gkasten@google.com> Add sf_writef_int to tiny libsndfile

Change-Id: I301781c079b0c6501a940dd7f6b782dd876d2899
/system/media/audio_utils/tinysndfile.c
2c29cee2e519db2decc91747b01f54597a856d1b 09-Jun-2015 Glenn Kasten <gkasten@google.com> Add FCC_8 comments to indicate 8-channel assumptions

Bug: 21656069
Change-Id: I411a5c83eec126bc6cda796bd4c9f842ed6ee762
/system/media/audio_utils/tinysndfile.c
ac13b24c9d7291a38f5451ad11d7af054da60283 29-May-2015 Glenn Kasten <gkasten@google.com> Add support for reading 24-bit packed PCM from .wav

Change-Id: Iaa100fa8f2a18377928dbab1faff606e55a107b8
/system/media/audio_utils/tinysndfile.c
2cee4e4b31008c9c31e7bc4ee8600e929754bfab 01-Apr-2015 Glenn Kasten <gkasten@google.com> Disable libsndfile behavior to write to stderr

A general-purpose API that writes errors to stderr is considered harmful.
Instead, for short term add a compile-time flag HAVE_STDERR only when needed.
A longer-term solution will be to return error information via an API.

Change-Id: I75de8e57558ac797378c5582da6f97b4380ff510
/system/media/audio_utils/tinysndfile.c
0c3baaad4eb1d0b915140c8c855212435671b889 29-Sep-2014 Glenn Kasten <gkasten@google.com> Skip chunks after data

Bug: 17686509
Change-Id: I5d3f70ed6fd3052d9fdb52a940c038cc6d52fe94
/system/media/audio_utils/tinysndfile.c
1fa816b623b8d912d78742b4a447693c8eb383ed 17-Jun-2014 Andy Hung <hunga@google.com> Fix shortened floating point WAV file write

Also fix minor robustness issue in sf_open_write in case
the target WAV file is opened in a protected directory.

Change-Id: I4f9a0e2ba92b9e851bd034e40169513e7e08a92b
/system/media/audio_utils/tinysndfile.c
e9b333c8b17dea46125ac26f0a388f62b43a8931 04-Jun-2014 Andy Hung <hunga@google.com> Add float to pcm16 writing capability to tinysndfile

Also added pcm16 to float writing capability.

Change-Id: Ic9aef8a3f699ec06d175f0040ee2e5096330a429
/system/media/audio_utils/tinysndfile.c
c74f4b7ace224c3435fd4a2f5127aa09f448d2a5 04-Jun-2014 Andy Hung <hunga@google.com> Fix tinysndfile write

Wav header incorrectly written in some cases,
resulting in partial data loss and misalignment.

Change-Id: I33d8cd2242e0fc1c6e7b3b36718c4eebb3114ab4
/system/media/audio_utils/tinysndfile.c
7b9378104f3709d6c07ed00fe11066860a4e9999 23-May-2014 Andy Hung <hunga@google.com> Add sf_readf_int to read files as 32 bit PCM int

Change-Id: Ic98cca69926309b1a8f77cc702bc54aba20e3996
/system/media/audio_utils/tinysndfile.c
52370169f1de6905db69ef5a16fcf1ab9ae4b1ab 23-May-2014 Andy Hung <hunga@google.com> Update sf_readf_float to handle 16 and 32 bit PCM

Change-Id: I0f74ca686f1a86e724057bc483924cea13577ef0
/system/media/audio_utils/tinysndfile.c
7c1930a39b04ce8c018df5f49e3be4ccdccbd3fd 07-May-2014 Glenn Kasten <gkasten@google.com> Add ability to read multi-channel .wav files

For the moment, only allow up to 8 channels, and channel count must
be even. These limits may be expanded later.

Change-Id: If1bb407ed39fbc3332c64a9078d7b58ec7922a8a
/system/media/audio_utils/tinysndfile.c
7095bc708771377cd195d426ae23bc961bf9ac30 10-Apr-2014 Andy Hung <hunga@google.com> Update tinysndfile to write multichannel WAV

Change-Id: Ibe73ff5e787bde8f7c5e4c326e849978410ff58f
Signed-off-by: Andy Hung <hunga@google.com>
/system/media/audio_utils/tinysndfile.c
b41de7533933bca6a29f000238270d443c7c1363 26-Mar-2014 Glenn Kasten <gkasten@android.com> am 8818dd66: am 77828c90: Merge "Fixes for LP64"

* commit '8818dd669b2cf03f7a66288e9d743de4722c9d81':
Fixes for LP64
96d859ca87493056f13b1b653f49ffe7bf9bcd2f 26-Mar-2014 Kévin PETIT <kevin.petit@arm.com> Fixes for LP64

Change-Id: I30a4eee58385f868795c7fae24a0dd189acf8592
Signed-off-by: Kévin PETIT <kevin.petit@arm.com>
/system/media/audio_utils/tinysndfile.c
c89cb607706c98d64d5d1b1cae645353d0c8e8fe 11-Mar-2014 Glenn Kasten <gkasten@google.com> Add ability to read floats using libsndfile

Change-Id: Ia38bac52a68819da73e351e70986de9e29663ed0
/system/media/audio_utils/tinysndfile.c
c0bd7157d2d5967a6b222a5d69b7703612f78a49 05-Feb-2013 Glenn Kasten <gkasten@google.com> Add support for writing float .wav to tinysndfile

Also improve error handling for the .wav reader

Change-Id: I1a309c723389c9eafd81344d9de4973d237837b8
/system/media/audio_utils/tinysndfile.c
8fdafc906bc3abd9ce897c6c0e87598417bd4d58 13-Feb-2013 Glenn Kasten <gkasten@google.com> Fix make checkbuild on Mac: swab() already declared

Change-Id: I76f55c4431c6e1fbca23cbcb43587b68f63ee07c
/system/media/audio_utils/tinysndfile.c
eae13ddb9a4fdedf3895a10cdf5c0a4aefe0ff60 04-Jan-2013 Glenn Kasten <gkasten@google.com> Implement sf_open(SFM_WRITE) and sf_writef_short

Also fix handle leak in sf_close(), and bad riffSize check in sf_open(SFM_READ).

Change-Id: Idec38b244cb1d076db1505e29df347ce85e4e30a
/system/media/audio_utils/tinysndfile.c
36c248b94fd41c0f0bb54106ce8e2b0ad67c40ee 12-Nov-2012 Glenn Kasten <gkasten@google.com> Add support for reading 8-bit PCM

Also:
Includable by C++
More compatibility with libsndfile external
Add frames field to SFINFO
sf_readf_short uses sf_count_t which is signed

Change-Id: Ice538d5f4ba3556b67c57bca856b605358d53c05
/system/media/audio_utils/tinysndfile.c
207ec2930dd429e5d4aa58e2b9899e09aa76e22c 31-Oct-2012 Glenn Kasten <gkasten@google.com> Add tinysndfile

Change-Id: Idc97a54f1e170fc06cc341fd1234c0635ada9757
/system/media/audio_utils/tinysndfile.c