You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
update: got this to work using env-libvpx-sys fork from this fork, but still struggling to get audio to work. cpal updated its API to get rid of event loop, so instead using build_input_stream.
Pretty sure
let s2 = interpolate::Converter::from_hz_to_hz(
signal::from_interleaved_samples_iter::<_, [_; $chan]>($signal),
BorrowedInterpolator(&mut p),
f64::from(fmt.sample_rate().0), //as _,
SAMPLE_RATE as _,
);
for frame in s2.until_exhausted() {
$i.extend_from_slice(&frame);
if $i.len() >= target {
let n = $write;
at.add_frame(&$o[..n], time, true); //TODO: Which frames are key?
$i.clear();
time += 20_000_000;
}
}
should still work, but still struggling with how to use cpal::StreamData::Input from main macro.
vpx_codec_get_cx_data
returning null any ideasThe text was updated successfully, but these errors were encountered: