Really? Even for a file that starts instantaneously? Sorry, I'm not exactly an expert with sound related programming or anything related to sound at all...
Edit:
Edit:
while(mysample.Read(sampleData, 0, 8) != 0){
mysample.Read(sampleData, 0, 8);
}
This seems to solve the problem based on your earlier post, anyhow how would I find the first possible sample in an audio file? Would I do something like multiply the time (in seconds) * samples per second and divide that by a certain number which becomes our read method's sample count?