mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 01:35:47 -04:00
dep/cubeb: Sync to 19fcbef
And apply PR #740 (Re-enable and polish IAudioClient3 to achieve lower latencies). `*latency_frames = min_period;` in wasapi_get_min_latency was changed to `*latency_frames = hns_to_frames(params.rate, min_period_rt);`, as otherwise it reports in mixer frames, not stream frames.
This commit is contained in:
@ -1335,6 +1335,7 @@ static struct cubeb_ops const oss_ops = {
|
||||
.get_max_channel_count = oss_get_max_channel_count,
|
||||
.get_min_latency = oss_get_min_latency,
|
||||
.get_preferred_sample_rate = oss_get_preferred_sample_rate,
|
||||
.get_supported_input_processing_params = NULL,
|
||||
.enumerate_devices = oss_enumerate_devices,
|
||||
.device_collection_destroy = oss_device_collection_destroy,
|
||||
.destroy = oss_destroy,
|
||||
@ -1348,6 +1349,8 @@ static struct cubeb_ops const oss_ops = {
|
||||
.stream_set_volume = oss_stream_set_volume,
|
||||
.stream_set_name = NULL,
|
||||
.stream_get_current_device = oss_get_current_device,
|
||||
.stream_set_input_mute = NULL,
|
||||
.stream_set_input_processing_params = NULL,
|
||||
.stream_device_destroy = oss_stream_device_destroy,
|
||||
.stream_register_device_changed_callback = NULL,
|
||||
.register_device_collection_changed = NULL};
|
||||
|
Reference in New Issue
Block a user