The DirectX7 class is the main class of a DirectX for Visual Basic application. This class has methods that are used with all of the DirectX components. The methods pertaining to DirectSound are: