mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-01 14:15:42 -04:00
Merge pull request #1984 from ggrtk/cubeb-persist
CubebAudioStream: Set CUBEB_STREAM_PREF_PERSIST flag
This commit is contained in:
commit
a6cd7f383a
@ -43,7 +43,7 @@ bool CubebAudioStream::OpenDevice()
|
|||||||
params.rate = m_output_sample_rate;
|
params.rate = m_output_sample_rate;
|
||||||
params.channels = m_channels;
|
params.channels = m_channels;
|
||||||
params.layout = CUBEB_LAYOUT_UNDEFINED;
|
params.layout = CUBEB_LAYOUT_UNDEFINED;
|
||||||
params.prefs = CUBEB_STREAM_PREF_NONE;
|
params.prefs = CUBEB_STREAM_PREF_PERSIST;
|
||||||
|
|
||||||
u32 latency_frames = 0;
|
u32 latency_frames = 0;
|
||||||
rv = cubeb_get_min_latency(m_cubeb_context, ¶ms, &latency_frames);
|
rv = cubeb_get_min_latency(m_cubeb_context, ¶ms, &latency_frames);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user