diff options
author | James McDonnell <jmcdonnell@blackberry.com> | 2016-10-18 15:08:53 -0400 |
---|---|---|
committer | Yoann Lopes <yoann.lopes@qt.io> | 2016-10-31 15:13:05 +0000 |
commit | f56dbf1b8f943a7203dece390640288518315800 (patch) | |
tree | 2c308c2c3875192397acdb0cc352101a040a4cc7 | |
parent | 2d43e390ba36230df24de4346f76c67358357add (diff) | |
download | qtmultimedia-f56dbf1b8f943a7203dece390640288518315800.tar.gz |
Change PLUGIN_DISABLE_MMAP to PLUGIN_MMAP
PLUGIN_DISABLE_MMAP has been deprecated since 6.6.0 and it was recently
removed from 7.0.0. PLUGIN_MMAP is favored as of 6.6.0. The DISABLE
in the value name is unnecessary because the value is only used to call
a function whose name already indicates that's how it'll be used.
Change-Id: Ie714f0fe8e874bbd1c7d8ee998f5a65f38f24fd2
Reviewed-by: Dan Cape <dcape@qnx.com>
Reviewed-by: Yoann Lopes <yoann.lopes@qt.io>
-rw-r--r-- | src/plugins/qnx-audio/audio/qnxaudioinput.cpp | 2 | ||||
-rw-r--r-- | src/plugins/qnx-audio/audio/qnxaudiooutput.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/qnx-audio/audio/qnxaudioinput.cpp b/src/plugins/qnx-audio/audio/qnxaudioinput.cpp index 24752c469..e837f335e 100644 --- a/src/plugins/qnx-audio/audio/qnxaudioinput.cpp +++ b/src/plugins/qnx-audio/audio/qnxaudioinput.cpp @@ -276,7 +276,7 @@ bool QnxAudioInput::open() } // Necessary so that bytesFree() which uses the "free" member of the status struct works - snd_pcm_plugin_set_disable(m_pcmHandle, PLUGIN_DISABLE_MMAP); + snd_pcm_plugin_set_disable(m_pcmHandle, PLUGIN_MMAP); snd_pcm_channel_info_t info; memset(&info, 0, sizeof(info)); diff --git a/src/plugins/qnx-audio/audio/qnxaudiooutput.cpp b/src/plugins/qnx-audio/audio/qnxaudiooutput.cpp index 89b77f494..6c3898e01 100644 --- a/src/plugins/qnx-audio/audio/qnxaudiooutput.cpp +++ b/src/plugins/qnx-audio/audio/qnxaudiooutput.cpp @@ -280,7 +280,7 @@ bool QnxAudioOutput::open() } // Necessary so that bytesFree() which uses the "free" member of the status struct works - snd_pcm_plugin_set_disable(m_pcmHandle, PLUGIN_DISABLE_MMAP); + snd_pcm_plugin_set_disable(m_pcmHandle, PLUGIN_MMAP); snd_pcm_channel_info_t info; memset(&info, 0, sizeof(info)); |