The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: bomz on April 09, 2012, 06:58:21 AM

Title: How set in struc empty string?
Post by: bomz on April 09, 2012, 06:58:21 AM
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)? (http://s59.radikal.ru/i165/1204/0b/c2ed672000c9.gif)
Title: Re: How set in struc empty string?
Post by: ragdog on April 09, 2012, 08:35:14 AM
What for a empty string?




Title: Re: How set in struc empty string?
Post by: bomz on April 09, 2012, 09:34:35 AM
: error A2047: empty (null) string
Title: Re: How set in struc empty string?
Post by: hutch-- on April 09, 2012, 10:10:46 AM
try using either a ZERO 0,or a pointer to an empty string.
Title: Re: How set in struc empty string?
Post by: bomz on April 09, 2012, 10:17:07 AM
(http://smiles.kolobok.us/standart/no2.gif)
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
Title: Re: How set in struc empty string?
Post by: GregL on April 11, 2012, 03:37:58 AM
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.
Title: Re: How set in struc empty string?
Post by: bomz on April 11, 2012, 08:50:17 AM
vista (http://s1.ipicture.ru/uploads/20120411/joG3AWoj.gif)