dev->oss.read_count  -= snd_pcm_lib_period_bytes(substream); dev->oss.read_offset += snd_pcm_lib_period_bytes(substream); if (dev->oss.read_offset == dev->oss.bufsize) dev->oss.read_offset = 0; 
dev->oss.read_count  -= snd_pcm_lib_period_bytes(substream); dev->oss.read_offset += snd_pcm_lib_period_bytes(substream); if (dev->oss.read_offset == dev->oss.bufsize) dev->oss.read_offset = 0; 
static snd_pcm_uframes_t snd_card_saa7134_capture_pointer(snd_pcm_substream_t * substream){	snd_pcm_runtime_t *runtime = substream->runtime;	snd_card_saa7134_pcm_t *saapcm = runtime->private_data;	struct saa7134_dev *dev=saapcm->saadev;	if (dev->oss.read_count) {                dev->oss.read_count  -= snd_pcm_lib_period_bytes(substream);                dev->oss.read_offset += snd_pcm_lib_period_bytes(substream);                if (dev->oss.read_offset == dev->oss.bufsize)                        dev->oss.read_offset = 0;	}	return bytes_to_frames(runtime, dev->oss.read_offset);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/4ac97914c6c35f6bf132071c718e034d0846b9f5/saa7134-alsa.c/buggy/drivers/media/video/saa7134/saa7134-alsa.c