]> git.alsa-project.org Git - tinycompress.git/log
tinycompress.git
12 years agocompress: Return error messages correctly from compress_open
Charles Keepax [Fri, 25 Jan 2013 10:43:13 +0000 (10:43 +0000)]
compress: Return error messages correctly from compress_open

The allocated compress object will be freed and bad_compress will be
returned, so error messages written to the allocated compress struct
will be lost. This patch writes error messages to bad_compress for error
paths in compress_open, ensuring that error messages are returned
correctly.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
12 years agocompress: Return error when failing to allocate compress struct
Charles Keepax [Fri, 25 Jan 2013 10:43:12 +0000 (10:43 +0000)]
compress: Return error when failing to allocate compress struct

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
12 years agocompress: Extend limit on error messages
Charles Keepax [Fri, 25 Jan 2013 10:43:11 +0000 (10:43 +0000)]
compress: Extend limit on error messages

32 characters is a very short size for the error message, extend this
to 128 characters to prevent clipping on the majority of messages.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
13 years agocompress: add compress_resume
Namarta Kohli [Tue, 12 Jun 2012 17:15:32 +0000 (22:45 +0530)]
compress: add compress_resume

Signed-off-by: Namarta Kohli <namartax.kohli@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
13 years agocompress: write when we have a fragment to write
Vinod Koul [Tue, 12 Jun 2012 17:14:33 +0000 (22:44 +0530)]
compress: write when we have a fragment to write

this needs fix when we do the drain, while draining we should write anyway
whatever we have

Signed-off-by: Namarta Kohli <namartax.kohli@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
13 years agocompress: fix the timestamp calculation
Vinod Koul [Tue, 12 Jun 2012 17:12:17 +0000 (22:42 +0530)]
compress: fix the timestamp calculation

use u64 for extended range and also ensure that seconds and nano seconds are
claculated seprately

Signed-off-by: Namarta Kohli <namartax.kohli@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
13 years agoinitial creation
Vinod Koul [Thu, 15 Mar 2012 10:50:30 +0000 (16:20 +0530)]
initial creation

Add the initial files of tinycompress and utility player cplay

Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
13 years agoInitial test commit...
Jaroslav Kysela [Mon, 5 Mar 2012 09:17:58 +0000 (10:17 +0100)]
Initial test commit...