News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

How set in struc empty string?

Started by bomz, April 09, 2012, 06:58:21 AM

Previous topic - Next topic

bomz

MixerLine   MIXERLINE <SIZEOF MIXERLINE,0,0,0,0,0,MIXER_GETLINEINFOF_LINEID,0,0,0," "," ",<0,0,0,0,0," ">>

and may be somebody know how change MUTE/UNMUTE in WAVE/MP3 out (one Line only)?

ragdog


bomz

: error A2047: empty (null) string

hutch--

try using either a ZERO 0,or a pointer to an empty string.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

bomz


EOF, '\\', "",'',db 0,'\\.',NULL,<0,0,0,0,0,0,0,0,0,0,0,0,0>

I find example this forum but can't change sound of line-in, only main and wave\mp3

GregL

Warning: The audio API that uses MIXERLINE structures is not supported in Windows Vista and later. 

I was really disappointed about that because I had written several programs that used that API.  The API that replaced it is COM based and not documented very well, I gave up on trying to use it.  There are some other options for controlling audio and examples of such are in this forum.