Lines Matching refs:whdr
491 WAVEHDR whdr [2] ;
514 short *lpData = (short *) (void *) audio_data->whdr [audio_data->current].lpData ;
522 audio_data->whdr [audio_data->current].dwBufferLength = thisread * sizeof (short) ;
525 waveOutWrite (audio_data->hwave, (LPWAVEHDR) &(audio_data->whdr [audio_data->current]), sizeof (WAVEHDR)) ;
612 audio_data.whdr [0].lpData = (char*) audio_data.buffer ;
613 audio_data.whdr [1].lpData = ((char*) audio_data.buffer) + sizeof (audio_data.buffer) / 2 ;
615 audio_data.whdr [0].dwBufferLength = sizeof (audio_data.buffer) / 2 ;
616 audio_data.whdr [1].dwBufferLength = sizeof (audio_data.buffer) / 2 ;
618 audio_data.whdr [0].dwFlags = 0 ;
619 audio_data.whdr [1].dwFlags = 0 ;
625 if ((error = waveOutPrepareHeader (audio_data.hwave, &(audio_data.whdr [0]), sizeof (WAVEHDR))))
631 if ((error = waveOutPrepareHeader (audio_data.hwave, &(audio_data.whdr [1]), sizeof (WAVEHDR))))
633 waveOutUnprepareHeader (audio_data.hwave, &(audio_data.whdr [0]), sizeof (WAVEHDR)) ;
653 waveOutUnprepareHeader (audio_data.hwave, &(audio_data.whdr [0]), sizeof (WAVEHDR)) ;
654 waveOutUnprepareHeader (audio_data.hwave, &(audio_data.whdr [1]), sizeof (WAVEHDR)) ;