<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Mixer wechseln]]></title><description><![CDATA[<p>ich weiss zwar, dass ich mit</p>
<pre><code class="language-cpp">m_ctrlSoundDevice.ResetContent();
	m_nNumMixers = ::mixerGetNumDevs();

	m_hMixer = NULL;
	::ZeroMemory(&amp;m_mxcaps, sizeof(MIXERCAPS));

	for(int i=0;i&lt;::mixerGetNumDevs();i++)
	{

		m_strDstLineName.Empty();
		m_strMuteControlName.Empty();
		m_dwMuteControlID = 0;

		if (::mixerOpen(&amp;m_hMixer,
						i,
						reinterpret_cast&lt;DWORD&gt;(this-&gt;GetSafeHwnd()),
						0,
						MIXER_OBJECTF_MIXER | CALLBACK_WINDOW)
			!= MMSYSERR_NOERROR)
		{
			return ;
		}

		if (::mixerGetDevCaps(reinterpret_cast&lt;UINT&gt;(m_hMixer),
							  &amp;m_mxcaps, sizeof(MIXERCAPS))
			!= MMSYSERR_NOERROR)
		{
			return ;
		}

		if (m_hMixer != NULL)
		{
			m_ctrlSoundDevice.AddString(m_mxcaps.szPname);
			m_ctrlSoundDevice.SetCurSel(0);
			::mixerClose(m_hMixer);
			m_hMixer=NULL;
		}
	}
	m_ctrlSoundDevice.EnableWindow(m_ctrlSoundDevice.GetCount()&gt;0);
</code></pre>
<p>alle meine mixer aufzählen kann, aber wie kann ich von einem zum anderen umschalten (als würde ich das in der systemsteuerung machen ) ?<br />
Ich Hoffe, dass mir jemand helfen kann !</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/64003/mixer-wechseln</link><generator>RSS for Node</generator><lastBuildDate>Thu, 04 Jun 2026 16:49:18 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/64003.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 06 Feb 2004 18:27:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Mixer wechseln on Fri, 06 Feb 2004 18:27:15 GMT]]></title><description><![CDATA[<p>ich weiss zwar, dass ich mit</p>
<pre><code class="language-cpp">m_ctrlSoundDevice.ResetContent();
	m_nNumMixers = ::mixerGetNumDevs();

	m_hMixer = NULL;
	::ZeroMemory(&amp;m_mxcaps, sizeof(MIXERCAPS));

	for(int i=0;i&lt;::mixerGetNumDevs();i++)
	{

		m_strDstLineName.Empty();
		m_strMuteControlName.Empty();
		m_dwMuteControlID = 0;

		if (::mixerOpen(&amp;m_hMixer,
						i,
						reinterpret_cast&lt;DWORD&gt;(this-&gt;GetSafeHwnd()),
						0,
						MIXER_OBJECTF_MIXER | CALLBACK_WINDOW)
			!= MMSYSERR_NOERROR)
		{
			return ;
		}

		if (::mixerGetDevCaps(reinterpret_cast&lt;UINT&gt;(m_hMixer),
							  &amp;m_mxcaps, sizeof(MIXERCAPS))
			!= MMSYSERR_NOERROR)
		{
			return ;
		}

		if (m_hMixer != NULL)
		{
			m_ctrlSoundDevice.AddString(m_mxcaps.szPname);
			m_ctrlSoundDevice.SetCurSel(0);
			::mixerClose(m_hMixer);
			m_hMixer=NULL;
		}
	}
	m_ctrlSoundDevice.EnableWindow(m_ctrlSoundDevice.GetCount()&gt;0);
</code></pre>
<p>alle meine mixer aufzählen kann, aber wie kann ich von einem zum anderen umschalten (als würde ich das in der systemsteuerung machen ) ?<br />
Ich Hoffe, dass mir jemand helfen kann !</p>
]]></description><link>https://www.c-plusplus.net/forum/post/453570</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/453570</guid><dc:creator><![CDATA[player5]]></dc:creator><pubDate>Fri, 06 Feb 2004 18:27:15 GMT</pubDate></item></channel></rss>