Lines Matching defs:ds
162 DSoundVoiceIn *ds = (DSoundVoiceIn *) hw;
163 dsoundCaptureClose (ds);
164 ds->last_read_pos = 0;
165 ds->capture_buffer_size = 0;
166 memset (&ds->as, 0, sizeof(ds->as));
171 DSoundVoiceOut *ds = (DSoundVoiceOut *) hw;
172 dsoundPlayClose (ds);
173 ds->old_pos = 0;
174 ds->first_time = 1;
175 ds->playback_buffer_size = 0;
176 memset (&ds->as, 0, sizeof(ds->as));
183 DSoundVoiceIn *ds = (DSoundVoiceIn *) hw;
185 ds->last_read_pos = 0;
186 ds->capture_buffer_size = 0;
187 ds->dsound_capture = NULL;
188 ds->dsound_capture_buffer = NULL;
189 ds->as = *as;
192 audio_pcm_init_info (&hw->info, &ds->as);
196 dsoundCaptureOpen (ds);
203 DSoundVoiceOut *ds = (DSoundVoiceOut *) hw;
205 ds->dsound = NULL;
206 ds->dsound_buffer = NULL;
207 ds->old_pos = 0;
208 ds->first_time = 1;
209 ds->playback_buffer_size = 0;
210 ds->as = *as;
213 audio_pcm_init_info (&hw->info, &ds->as);
217 dsoundPlayOpen (ds);