| tone_freq -= tone_incr; | tone_freq -= tone_incr; | ||||
| } | } | ||||
| } | } | ||||
| while(i < AUDIO_BLOCK_SAMPLES) { | |||||
| *bp++ = 0; | |||||
| i++; | |||||
| } | |||||
| // send the samples to the left channel | // send the samples to the left channel | ||||
| transmit(block,0); | transmit(block,0); | ||||
| release(block); | release(block); |