To get the sound to the speakers without going through Winamp you can either completely by-pass your computer or unmute your input device for playback (see the section about setting up your volume settings Basics). This output plugin doesn't do anything with the sound, which makes Winamp perform really well, and if you can get the sound to the speakers through some other means you may be able to get really good synchronization. If you don't need Winamp's output (if you're only using Winamp for visualizations for example) then you should consider using Nullsoft's NULL Output plugin. NOTE2: The ASIO Winamp plugin can be found at. NOTE: There is a driver available that will provide ASIO support for just about any soundcard, see. The plugin can probably be found by searching on Google or in the HydrogenAudio forums. If your soundcard supports ASIO (usually only high-end cards) this will (at least theoretically) provide the lowest latency possible. The plugin works by forwarding a buffer to the driver as soon as it receives one. This is my own output plugin, created to work with my LineIn plugin, in order to minimize the delay as much as possible. Some (recent) version of the DirectSound plugin has been reported by someone to provide much lower latencies than the waveOut equivalents, but "your mileage may vary". In this case it's also advisable to play with the settings until you get nice results (since I'm also in this case unsure about the precise effect of the different settings). Try to lower the main buffer size, the Directsound polling delay and the Directsound block size. Try to lower the main buffer, the total number of buffers and the maximum and minimum sizes of buffers, but if you get undesired results, don't hesitate to play with the values until you like it (I'm not sure about which actions have the best effect). But this hugely depends on your drivers, so experiment a bit to see what works best on your system. NOTE: The waveOut API is usually preferable to the DirectSound API on Windows 9x/ME, for NT/2000/XP it's the other way around (in fact on my system the waveOut API always hangs my XP system). The outprebuflen length must always be less than or equal to the outbuflen.Ĭonfiguring the output plugin through its configuration dialog is very plugin specific, but in general big buffers mean big delays. But if the options work they should specify the length of the buffer the output plugin uses and they should affect the maximum latency of the output plugin, in theory (I have no idea wether there are actually output plugins that support those options). The out(pre)buflen options probably don't work with all output plugins, so you may want to try atleast both the waveOut and the DirectSound plugin (which is advisable anyhow). The output plugin can be tuned, this can be done by using the out(pre)buflen options of my plugin, or by tuning the plugin directly through its configuration dialog. Yes, this can actually have an effect on the delay, a very big effect even, most people don't realize it, but an untuned output plugin is one of the biggest causes of delays! In simple tests - I played a tone in an cooledit, sent it through Virtual Audio Cable and paused it when I heard the signal - I easily achieved 2 times as small a delay, 0.3 seconds instead of 0.7). It will never be possible to eliminate the delay, but. The main problem is the plugin architecture itself, because the input plugin first has to fill a buffer before it can forward it. Unfortunately that's not the biggest problem, it's possible to hardly notice any difference (in delay) between using a DSP plugin and not using a DSP plugin. Winamp is a plugin based audio(/multimedia) program that works by forwarding audio data from intput plugins to VIS plugins, DSP plugins and output plugins, below is a picture of how it's done with my plugin (roughly, actually the DSP plugin returns the modified data to the input plugin):Īs you can see a DSP plugin will introduce a delay because it is put between the output and input plugin. LineIn plugin for Winamp 2/5 Documentation - Performance Jasper's LineIn plugin for Winamp 2/5 Documentation - Performance
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |