search for: 24bps

Displaying 5 results from an estimated 5 matches for "24bps".

Did you mean: 24kbps
2014 Aug 14
1
Encoder example for 24-bit files
...gt;> | buffer[41]) << 8) | buffer[40]) / 4; >> > > I suspect that the expression for total_samples should be not > > (.....) / 4 > > but > > (.....) / (channels * bps/8) Yes, that's correct. Here is the final diff I used to use the example to convert the 24bps file: diff --git a/examples/c/encode/file/main.c b/examples/c/encode/file/main.c index e3bdea8..b1cf374 100644 --- a/examples/c/encode/file/main.c +++ b/examples/c/encode/file/main.c @@ -40,8 +40,10 @@ static void progress_callback(const FLAC__StreamEncoder *encoder, FLAC__uint64 b #define READS...
2014 Aug 14
6
Encoder example for 24-bit files
...C__int32 pcm[READSIZE/*samples*/ * 2/*channels*/]; int main(int argc, char *argv[]) @@ -71,13 +71,15 @@ memcmp(buffer+8, "WAVEfmt \020\000\000\000\001\000\002\000", 16) || memcmp(buffer+32, "\004\000\020\000data", 8) ) { + /* Ignoring for now as I work towards supporting 24bps files. fprintf(stderr, "ERROR: invalid/unsupported WAVE file, only 16bps stereo WAVE in canonical form allowed\n"); fclose(fin); return 1; + */ } sample_rate = ((((((unsigned)buffer[27] << 8) | buffer[26]) << 8) | buffer[25]) << 8) | buffer[24]; - channels = 2;...
2007 Mar 19
2
FLAC winamp plugin
Hi, What is the best way to play FLAC files in winamp? Using the in_flac.dll plugin provided in the flac-1.1.4-win.zip file and copying it to the Plugins subdirectory of winamp or using the plugin that's provided by winamp itself? Are there differences between those 2 plugins? It's not really clear for me thanks in advance Harry -------------- next part -------------- An HTML attachment
2004 Sep 10
0
FLAC subset
...ote that all hardware players currently use a straight libFLAC which does the full format, but I don't think they have tested their hardware against the memory or processing demands of the full format (16bit 44.1kHz stereo is the norm and pretty safe). My idea is to have a subset so that up to 24bps/96kHz is feasible, finalize it, and do a separate subset-only decoder, maybe under a BSD license, that does no malloc and is more suitable to hardware. Josh __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com
2007 Apr 05
2
FLAC 24 bit test results
On Thu, 2007-04-05 at 02:27 -0700, Brian Willoughby wrote: > Josh (Green), > > Seems like the longest example in your list is a 15-second file. I > would like to see the same problem exhibited in a file that is of a > normal length. I have been recording full performances lasting > hours, and flac always compresses the files below 70% of the original > size. >