01-09-2023, 04:14 PM
(This post was last modified: 01-09-2023, 04:14 PM by DSMan195276.)
(01-09-2023, 03:59 PM)mnrvovrfc Wrote: Um, the above was going to be the only thing, but now I'm baffled by the new syntax of _SNDOPEN(). When getting a string to be interpreted as sound (second parameter), what happens to the first "sound$" parameter? Does it have to be set to something other than the empty string or an actual filename?
For that syntax, the second parameter is literally "memory", similar to the other settings that are allowed to be specified such as "stream". It's an optional parameter though and I don't typically see it used, so you might not be familiar with it.
When using the "memory" setting, you specify the sound data in a string in the first parameter where you would normally specify a filename.