• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/flac-1.2.1/src/plugin_xmms/

Lines Matching refs:stream_data

595 	stream_data_struct *stream_data = (stream_data_struct *)client_data;
596 const unsigned channels = stream_data->channels, wide_samples = frame->header.blocksize;
597 const unsigned bits_per_sample = stream_data->bits_per_sample;
602 if(stream_data->abort_flag)
605 if((sample_buffer_last_ + wide_samples) > (SAMPLE_BUFFER_SIZE / (channels * stream_data->sample_format_bytes_per_sample))) {
606 memmove(sample_buffer_, sample_buffer_ + sample_buffer_first_ * channels * stream_data->sample_format_bytes_per_sample, (sample_buffer_last_ - sample_buffer_first_) * channels * stream_data->sample_format_bytes_per_sample);
610 sample_buffer_start = sample_buffer_ + sample_buffer_last_ * channels * stream_data->sample_format_bytes_per_sample;
611 if(stream_data->has_replaygain && flac_cfg.output.replaygain.enable) {
615 stream_data->sample_format_bytes_per_sample == 1, /* unsigned_data_out */
620 stream_data->sample_format_bytes_per_sample * 8,
621 stream_data->replay_scale,
624 &stream_data->dither_context
634 stream_data->sample_format_bytes_per_sample * 8
644 stream_data->sample_format_bytes_per_sample * 8
655 stream_data_struct *stream_data = (stream_data_struct *)client_data;
658 stream_data->total_samples = metadata->data.stream_info.total_samples;
659 stream_data->bits_per_sample = metadata->data.stream_info.bits_per_sample;
660 stream_data->channels = metadata->data.stream_info.channels;
661 stream_data->sample_rate = metadata->data.stream_info.sample_rate;
663 FLAC__uint64 l = (FLAC__uint64)((double)stream_data->total_samples / (double)stream_data->sample_rate * 1000.0 + 0.5);
666 stream_data->length_in_msec = (int)l;
672 stream_data->has_replaygain = true;
673 stream_data->replay_scale = grabbag__replaygain_compute_scale_factor(peak, gain, (double)flac_cfg.output.replaygain.preamp, /*prevent_clipping=*/!flac_cfg.output.replaygain.hard_limit);
680 stream_data_struct *stream_data = (stream_data_struct *)client_data;
683 stream_data->abort_flag = true;