<br><br>
<div><span class="gmail_quote">2006/6/11, Eric Pouech &lt;<a href="mailto:eric.pouech@wanadoo.fr">eric.pouech@wanadoo.fr</a>&gt;:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Peter Åstrand wrote:<br><br>&gt; On Sat, 10 Jun 2006, Eric Pouech wrote:<br>&gt;<br>&gt;&gt;&gt; ChangeLog:
<br>&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; winmm: Add support for &quot;open new&quot; commands.<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; looks globally good, except that you don't enforce that you got a<br>&gt;&gt; correct device name ie I'm not sure that 'open new type waveaudio'
<br>&gt;&gt; works (without the alias)<br>&gt;<br>&gt;<br>&gt; I'm not sure I understand what you mean, how is the alias related to<br>&gt; the verification of a correct device name?<br><br>it's not. but I don't think a command like 'open new type waveaudio'
<br>shall work (as the name of the MCI device would be new in that case,<br>which is a reserved keyword). In other words, I think that 'open new'<br>should fail if no alias is given.</blockquote>
<div>&nbsp;</div>
<div>for the sake of completeness, I tested it on Windows:</div>
<div>mciSendString(&quot;open new type wavedaudio&quot;, ...) fails with the error MCIERR_NEW_REQUIRES_ALIAS. This must be properly handled before submission into Wine.</div>
<div>&nbsp;</div>
<div>A+</div><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">-- <br>Eric Pouech </blockquote></div>