Lines Matching refs:mFlacStreamEncoder
99 mFlacStreamEncoder(nullptr), in C2SoftFlacEnc()
108 mFlacStreamEncoder = FLAC__stream_encoder_new(); in onInit()
109 if (!mFlacStreamEncoder) return C2_CORRUPTED; in onInit()
131 if (mFlacStreamEncoder) { in onRelease()
132 FLAC__stream_encoder_delete(mFlacStreamEncoder); in onRelease()
133 mFlacStreamEncoder = nullptr; in onRelease()
264 mFlacStreamEncoder, mInputBufferPcm32, nbInputFrames); in process()
340 if (mSignalledError || !mFlacStreamEncoder) { in configureEncoder()
346 ok = ok && FLAC__stream_encoder_set_channels(mFlacStreamEncoder, mIntf->getChannelCount()); in configureEncoder()
347 ok = ok && FLAC__stream_encoder_set_sample_rate(mFlacStreamEncoder, mIntf->getSampleRate()); in configureEncoder()
348 ok = ok && FLAC__stream_encoder_set_bits_per_sample(mFlacStreamEncoder, 16); in configureEncoder()
349 ok = ok && FLAC__stream_encoder_set_compression_level(mFlacStreamEncoder, mCompressionLevel); in configureEncoder()
350 ok = ok && FLAC__stream_encoder_set_verify(mFlacStreamEncoder, false); in configureEncoder()
357 FLAC__stream_encoder_init_stream(mFlacStreamEncoder, in configureEncoder()
369 mBlockSize = FLAC__stream_encoder_get_blocksize(mFlacStreamEncoder); in configureEncoder()
407 FLAC__bool ok = FLAC__stream_encoder_finish(mFlacStreamEncoder); in drain()