다음을 통해 공유


Default Port

Under versions of Windows 98 prior to Windows 98 Second Edition, and always when hardware that supports DLS is not available, the Microsoft software synthesizer is the default port. Under other versions of Windows, a hardware synthesizer could be the default port.

If you want your application to use the default port, you don't have to call the IDirectMusic8::CreatePort method before adding the port to the performance. Instead, you can pass NULL to IDirectMusicPerformance8::AddPort.

You can obtain the default port by a call to IDirectMusic8::GetDefaultPort, and then check its capabilities by using the IDirectMusicPort8::GetCaps method. If the port does not meet the needs of your application, use the IDirectMusic8::EnumPort method to find the Microsoft software synthesizer or another port.

© 2004 Microsoft Corporation. All rights reserved.