I'm not sure, but i think the "iPcSoundSource" property is not yet implemented in current CEL version because the "SetSoundName" method implementation is:
void celPcSoundSource::SetSoundName (const char* name)
{
soundname = name;
soundwrap = 0;
source = 0;
source3d = 0;
stream = 0;
}
I imagine it shoulds be something like this:
void celPcSoundSource::SetSoundName (const char* name)
{
soundname = name;
soundwrap = 0;
source = 0;
source3d = 0;
stream = 0;
GetSoundWrap();
if (!GetSource())
{
// @@@ Report error?
printf ("Can't set sound '%s'!\n", (const char*)name);
fflush (stdout);
}
}