private static _CreateDirectSound ( IWavePlayer &Player ) : bool | ||
Player | IWavePlayer | |
리턴 | bool |
private static bool _CreateDirectSound(out IWavePlayer Player)
{
try
{
Player = new DirectSoundOut();
return true;
}
catch
{
Player = null;
return false;
}
}