Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

sound issues again

Apr 6, 2007 12:41PM PDT

the sound seems to be crackling again while playing this sound code area.
someone know why this is? all i could find is something to do with int/long/short type?
click event
{
if...(choose 1 sound)
else if...(choose 1 sound)
else if...(choose 1 sound)
else if...(choose 1 sound)
if(x==true)
{
if...(choose 1 sound)
else if...(choose 1 sound)
else if...(choose 1 sound)
else if...(choose 1 sound)
else if...(choose 1 sound)
}

call play sound method
}

Discussion is locked

- Collapse -
Sorry.
Apr 6, 2007 1:08PM PDT

Details too slim. Stumped.

Bob

- Collapse -
bigger picture
Apr 7, 2007 5:29AM PDT

switch with 5 cases, inside each case is those if statements.

or should it be if statements first, then switch w/5 cases inside the if statements?

- Collapse -
Red lettered words.
Apr 7, 2007 5:35AM PDT
Note: If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

Since it appears your browser doesn't show this and my subtle reply didn't have you telling more I duplicated the words in red that some browsers seem to not show a few members.

Ask yourself what you think you would need to know to work this issue.

Bob