<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi, I'm trying to play an instrument and then 
switch to a different type of instrument and play it.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>So basically I have an m_instrument object and an 
m_output object. At the beginning they are set to a BeeThree and an RTWavOut(1) 
respectively and it works fine I get some sound. Then when I want to switch the 
instrument, I do something like:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>delete m_instrument;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>m_instrument = new 
WhateverInstrument();</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>however when I go back to play it I get no sound. 
Do I need to delete and reallocate the output object as 
well?</FONT></DIV></BODY></HTML>