Displaying 5 results from an estimated 5 matches for "init_status".
Did you mean:
exit_status
2011 Sep 28
0
FLAC::Encoder::Stream == "FLAC__STREAM_ENCODER_VERIFY_MISMATCH_IN_AUDIO_DATA"
...c.get_state() == "FLAC__STREAM_ENCODER_VERIFY_MISMATCH_IN_AUDIO_DATA"
get_verify_decoder_state() == "FLAC__STREAM_DECODER_READ_FRAME"
this is the code I have now
/*****************************************************************************/
FLAC__StreamEncoderInitStatus init_status;
TMyFlacEncoder enc;
bool ok = true;
unsigned int sample_size = 4; //2 * (16 / 8); 2 channels * (16
bits / 8) bytes
unsigned int samples_per_sector = disc.getBytesPerSector(trackNum) /
sample_size / 2 /*channels*/;
unsigned int tot...
2008 May 19
1
Memory leaks due to Metadata object vorbis comment API ???
..._sample*/ *
> 2/*channels*/]; /* we read the WAVE data into here */
> static FLAC__int32 pcm[READSIZE/*samples*/ * 2/*channels*/];
>
> int main(int argc, char *argv[])
> {
> FLAC__bool ok = true;
> FLAC__StreamEncoder *encoder = 0;
> FLAC__StreamEncoderInitStatus init_status;
> FLAC__StreamMetadata *metadata[2];
> FLAC__StreamMetadata_VorbisComment_Entry entry;
> FILE *fin;
> unsigned sample_rate = 0;
> unsigned channels = 0;
> unsigned bps = 0;
>
> if(argc != 3) {
> fprintf(stderr, "usage: %s infile.w...
2007 Mar 22
1
Flac encoding of 88.2kHz files -- not streamble?
...g:~$ work/flac-1.1.4/src/flac/flac Serenissima02.wav
<snip copyright>
Serenissima02.wav: WARNING: legacy WAVE file has format type 1 but
bits-per-sample=24
Serenissima02.wav: WARNING: skipping unknown sub-chunk 'fact'
Serenissima02.wav: ERROR initializing encoder
init_status =
FLAC__STREAM_ENCODER_INIT_STATUS_NOT_STREAMABLE
The encoding parameters specified do not conform to the FLAC Subset and
may not be streamable or playable in hardware devices. If you really
understand the consequences, you can add --lax to the command-line
options to encode with these parame...
2013 Aug 16
7
[PATCH v2] xen/console: buffer and show origin of guest PV writes
...)
+ goto fail;
}
if ( (err = arch_domain_create(d, domcr_flags)) != 0 )
@@ -318,6 +324,7 @@ struct domain *domain_create(
d->is_dying = DOMDYING_dead;
atomic_set(&d->refcnt, DOMAIN_DESTROYED);
xfree(d->mem_event);
+ xfree(d->pbuf);
if ( init_status & INIT_arch )
arch_domain_destroy(d);
if ( init_status & INIT_gnttab )
@@ -730,6 +737,7 @@ static void complete_domain_destroy(struct rcu_head *head)
#endif
xfree(d->mem_event);
+ xfree(d->pbuf);
for ( i = d->max_vcpus - 1; i >= 0; i-- )...
2013 Sep 09
0
[PATCH v3] xen/console: buffer and show origin of guest PV writes
...)
+ goto fail;
}
if ( (err = arch_domain_create(d, domcr_flags)) != 0 )
@@ -318,6 +324,7 @@ struct domain *domain_create(
d->is_dying = DOMDYING_dead;
atomic_set(&d->refcnt, DOMAIN_DESTROYED);
xfree(d->mem_event);
+ xfree(d->pbuf);
if ( init_status & INIT_arch )
arch_domain_destroy(d);
if ( init_status & INIT_gnttab )
@@ -730,6 +737,7 @@ static void complete_domain_destroy(struct rcu_head *head)
#endif
xfree(d->mem_event);
+ xfree(d->pbuf);
for ( i = d->max_vcpus - 1; i >= 0; i-- )...