search for: header_str

Displaying 3 results from an estimated 3 matches for "header_str".

Did you mean: header_seq
2005 Aug 01
1
Application Metadata
...hrough the tests, and sorry to say, but I just Don't Get It. Based on some of the test code, I had assumed I would do something like: FLAC::Metadata::Application header_flac; FLAC__byte header_flac_id[4] = { 1, 2, 3, 4 }; header_flac.set_id(header_flac_id); header_flac.set_data((FLAC__byte*)(header_str.begin()),header_str.size()); // set the metadata FLAC::Metadata::Prototype *metadata_sequence[] = { &header_flac }; enc.set_metadata(metadata_sequence,sizeof(metadata_sequence)/sizeof(metadata_sequence[0])); // and now i continue to init(), process_interleaved() and finish() But that kept g...
2006 May 11
2
C++ Set_Metadata Problem
...h a different error. To recap... (I've left out is-valid checks in the listing for brevity) ////////// // Create an application block FLAC::Metadata::Application header_flac; FLAC__byte header_flac_id[4] = { 1, 2, 3, 4 }; header_flac.set_id(header_flac_id); header_flac.set_data((FLAC__byte*)(header_str.begin()),header_str.size() ); // Add the block to a metadata array and pass the array to the encoder object FLAC::Metadata::Prototype *meta[] = { &header_flac }; set_metadata(meta, sizeof(meta) / sizeof(meta[0])); // Ready to go - initialise the encoder if(init() != ::FLAC__FILE_ENCODER_OK)...
2007 Mar 14
1
SASacct
Hey guys, I have a little problem. i'm running a CentOS 4.4 (Final) (Linux 2.6.9-42.0.10.EL) box. So, i installed SASacct (http://rousse.pm.org/sasacct/) for accouting the traffic of my hosts. But it dont make the graphics/images of utilization. The libs, rrdtool, perl are all installed. I just tested with rpm based rrdtool and Tarball, but no success. The firewall is ok: Counters reset