dspack

DSPack - How to get the default device for sound output?

血红的双手。 提交于 2019-12-05 02:06:17
问题 In Windows 7 there are multiple playback devices. Example (on my laptop): Speakers and Dual Headphones Independent Dual Headphones SPDIF (Digital Out via HP Dock) The situation is thus: I am writing an app that lets the user choose the output device and save this into the settings of the app. So it offers the user a choice of all Directsound devices in a combobox. The user selects the one he prefers and saves it. My requirement is: On initial load of this list, I want to select the default

DSPack - How to get the default device for sound output?

Deadly 提交于 2019-12-03 17:19:06
In Windows 7 there are multiple playback devices. Example (on my laptop): Speakers and Dual Headphones Independent Dual Headphones SPDIF (Digital Out via HP Dock) The situation is thus: I am writing an app that lets the user choose the output device and save this into the settings of the app. So it offers the user a choice of all Directsound devices in a combobox. The user selects the one he prefers and saves it. My requirement is: On initial load of this list, I want to select the default device (as set in Windows 7 - Control Panel -> Sound -> Playback tab) So my code to enumerate the audio

How can I directly embed a DirectShow Push Source filter in an EXE?

微笑、不失礼 提交于 2019-12-02 04:51:09
问题 I have a Delphi 6 program that receives audio from an external program via a socket. Now I want to feed that audio to a DirectShow filter graph I create that routes that audio to different output filters on the PC. I am using DSPACK for my DirectShow filter graph work. I'll be using one of the DSPACK examples that shows how to create a Push Source Filter as my starting point. Is it possible to embed a DirectShow filter directly into my main EXE, or do I have to create an external DLL or AX

How can I directly embed a DirectShow Push Source filter in an EXE?

醉酒当歌 提交于 2019-12-01 23:22:46
I have a Delphi 6 program that receives audio from an external program via a socket. Now I want to feed that audio to a DirectShow filter graph I create that routes that audio to different output filters on the PC. I am using DSPACK for my DirectShow filter graph work. I'll be using one of the DSPACK examples that shows how to create a Push Source Filter as my starting point. Is it possible to embed a DirectShow filter directly into my main EXE, or do I have to create an external DLL or AX file and run regsvr32 on it? I'd like to avoid creating an external module otherwise I'll have to create