ArticleslgStudy

computer science

Windows legacy audio components

Windows legacy audio components is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Windows legacy audio components rather than just read about it. In short: This article describes audio APIs and components in Microsoft Windows which are now obsolete or deprecated. Multimedia Extensions (MME) The MME API or the Windows Multimedia API (also known as WinMM) was the first universal and standardized Windows audio API.

Key takeaways

  • Windows legacy audio components belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Windows legacy audio components to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Windows legacy audio components from memory before moving on to harder problems.

Reference excerpt

This article describes audio APIs and components in Microsoft Windows which are now obsolete or deprecated.

Multimedia Extensions (MME) The MME API or the Windows Multimedia API (also known as WinMM) was the first universal and standardized Windows audio API. Wave sound events played in Windows (up to Windows XP) and MIDI I/O use MME. The devices listed in the Multimedia/Sounds and Audio control panel applet represent the MME API of the sound card driver. The Multimedia Extensions (WaveIn/WaveOut interfaces) were released in autumn 1991 to support sound cards, as well as CD-ROM drives, which were then becoming increasingly available. The Multimedia Extensions were released to Original Equipment Manufacturers (OEMs), mainly CD-ROM drive and sound card manufacturers, and added basic multimedia support for audio input and output and a CD audio player application to Windows 3.0. The Multimedia Extensions' new features were not available in Windows 3.0 real mode, only in standard and 386 enhanced mode. Windows 3.1x would later incorporate many of its features. Microsoft developed the Windows Sound System sound card specification to complement these extensions. In Windows 9x with VxD audio is used, MME lacks mixing multiple audio streams during playback and device sharing, so only one audio stream can be rendered at a time. But some sound card drivers (such as Sound Blaster Live!) can emulate more than one MME device (or support more than a single streaming client) so it could work with MME too. Starting from Windows 2000 with WDM audio, MME supports playback device sharing (multi-client access) and can mix playback streams together. Starting from Windows XP, MME started to support recording device sharing. In earlier Windows versions, MME supported up to two channels of recording, 16-bit audio bit depth and sampling rates of up to 44100 samples per second with all the audio being mixed and sampled to 44100 samples per second. Starting from Windows 2000, MME supports up to 384000 samples per second, up to 8 channels, and up to 32 bits per sample. Prior to Windows XP, the number of MME/WinMM device interfaces (waveIn, waveOut, midiIn, midiOut, mixer, and aux) is restricted to 10. This limit is raised from 10 to 32 in Windows XP. Device name length in MME is restricted to 31 characters so long device names may appear only partially.

Issues A fault in the MME WaveIn/WaveOut emulation was introduced in Windows Vista: if sample rate conversion is needed, audible noise is sometimes introduced, such as when playing audio in a web browser that uses these APIs. This is because the internal resampler, which is no longer configurable, defaults to a fast integer-based linear interpolation, which was the lowest-quality conversion mode that could be set in previous versions of Windows. The resampler can be set to a high-quality mode via a hotfix for Windows 7 and Windows Server 2008 only.

Audio Compression Manager Audio Compression Manager (ACM) is a Windows multimedia framework that manages audio codecs (compressor/decompressors). ACM can also be considered an API specification. A codec must conform to the implicit ACM specification to work with Windows Multimedia. ACM files can be recognized by their filename extension .acm. ACM files also use RIFF-compatible filetypes such as WAV or AVI as a "wrapper" to store audio data encoded by any audio codec supported by ACM. ACM is considered an outdated framework/API and Microsoft now encourages the use of at least DirectShow. However, unlike ACM and the related Video Compression Manager (VCM), DirectShow provides no means to encode files for end-users but requires developers to build end-to-end graphs for encoding content. ACM also does not support VBR audio streams; therefore newer codecs like MPEG-4 AAC, Ogg Vorbis, FLAC etc. cannot be supported through ACM if using variable bitrates. Though many sources state the contrary, Ogg Vorbis does work well with the ACM, e.g. when embedded in a RIFF-compatible file (such as a WAV or AVI file as mentioned earlier), provided the Ogg Vorbis stream is encoded at a constant bitrate. Windows comes with a number of ACM codecs pre-installed. For a list of these codecs, consult WAV file § Comparison of coding schemes. ACM codecs are identified by a two-byte code (TwoCC) allocated by Microsoft.

DirectX Audio Libraries DirectSound DirectMusic

KMixer

KMixer (kmixer.sys) is the Kernel Audio Mixer driver, a part of WDM Audio in Windows 98 to Windows XP which handles the mixing of multiple sound buffers into an output. The tasks performed by KMixer.sys:

Mixing multiple PCM audio streams Sample-rate conversion Speaker configuration Audio bit depth and audio channel conversion Audio volume control In Windows 98, Windows 2000 and Windows Me, the KMixer maximum sample rate is 96 kHz. In Windows XP SP1 and later, KMixer audio sampling rate supports a maximum of 192 kHz. The actual resampling rate of KMixer is highly decided by audio drivers and audio devices; later the WASAPI introduced changeable resampling rate. In Windows 98 to Windows XP, the vendor-offered GFX filter can be included in audio drivers, and it can be used for audio enhancement features. Later the GFX filter was replaced by APO in Windows Vista.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Windows legacy audio components

Start with the simplest possible case. Write down what Windows legacy audio components claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Windows legacy audio components before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Windows legacy audio components ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Windows legacy audio components

In research
Windows legacy audio components appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Windows legacy audio components in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Windows legacy audio components is common in secondary-school and first-year university syllabi. It links to neighbouring topics Music software plugin architectures, Windows audio, so understanding it makes those chapters shorter.
In everyday life
Look for Windows legacy audio components outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Windows legacy audio components” →

How to study Windows legacy audio components in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Windows legacy audio components means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Windows legacy audio components out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Windows legacy audio components in simple terms?

This article describes audio APIs and components in Microsoft Windows which are now obsolete or deprecated. Multimedia Extensions (MME) The MME API or the Windows Multimedia API (also known as WinMM) was the first universal and standardized Windows audio API.

Why does Windows legacy audio components matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Windows legacy audio components?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Windows legacy audio components.

Tags

  • Music software plugin architectures
  • Windows audio

Keep exploring