search for: avg_bitrate

Displaying 1 result from an estimated 1 matches for "avg_bitrate".

Did you mean: abr_bitrate
2002 Oct 05
2
ogg123 remote interface
...current_section = -1; + private->stats.current_pcm_sample = 0; + private->stats.total_pcm_samples = 0; private->stats.total_time = 0.0; private->stats.current_time = 0.0; private->stats.instant_bitrate = 0; @@ -221,12 +223,16 @@ long instant_bitrate; long avg_bitrate; + priv->stats.total_pcm_samples = ov_pcm_total(&priv->vf, -1); + priv->stats.current_pcm_sample = ov_pcm_tell(&priv->vf); + + //fprintf(stderr, "%lld\n", priv->stats.total_pcm_samples); /* ov_time_tell() doesn't work on non-seekable streams, so we us...