Or... you could build the sine wave mathematically.
x[t] = cos (2 * pi * f * t / Sr)
x[t] = individual points of the sine wave
f = frequency
t = loop index (if you're using a loop)
Sr = sampling rate.
Of course, this gives you a sinusoid from -1 to 1 and you can scale it however you want.
Rob