Lines Matching refs:status

166 	ECHOSTATUS status;
172 status = stream->card->pEG->CloseAudio(&close_params);
173 if (status != ECHOSTATUS_OK && status != ECHOSTATUS_CHANNEL_NOT_OPEN) {
175 PRINT((" status: %s \n", pStatusStrs[status]));
186 status = stream->card->pEG->OpenAudio(&open_params, &stream->pipe);
187 if (status != ECHOSTATUS_OK) {
189 PRINT((" status: %s \n", pStatusStrs[status]));
194 status = stream->card->pEG->VerifyAudioOpen(stream->pipe);
195 if (status != ECHOSTATUS_OK) {
197 PRINT((" status: %s \n", pStatusStrs[status]));
214 status = stream->card->pEG->QueryAudioFormat(stream->pipe, &format_params);
215 if (status != ECHOSTATUS_OK) {
217 PRINT((" status: %s \n", pStatusStrs[status]));
221 status = stream->card->pEG->SetAudioFormat(stream->pipe, &format_params);
222 if (status != ECHOSTATUS_OK) {
224 PRINT((" status: %s \n", pStatusStrs[status]));
229 status = stream->card->pEG->QueryAudioSampleRate(sample_rate);
230 if (status != ECHOSTATUS_OK) {
232 PRINT((" status: %s \n", pStatusStrs[status]));
237 status = stream->card->pEG->SetAudioSampleRate(sample_rate);
238 if (status != ECHOSTATUS_OK) {
240 PRINT((" status: %s \n", pStatusStrs[status]));
316 ECHOSTATUS status;
323 status = stream->card->pEG->Start(stream->pipe);
324 if (status!=ECHOSTATUS_OK) {
325 PRINT(("echo_stream_start : Could not start the pipe %s\n", pStatusStrs[status]));
334 ECHOSTATUS status;
338 status = stream->card->pEG->Stop(stream->pipe);
339 if (status!=ECHOSTATUS_OK) {
340 PRINT(("echo_stream_halt : Could not stop the pipe %s\n", pStatusStrs[status]));
349 cpu_status status;
377 status = lock();
379 unlock(status);
388 cpu_status status;
396 status = stream->card->pEG->CloseAudio(&close_params);
397 if (status != ECHOSTATUS_OK && status != ECHOSTATUS_CHANNEL_NOT_OPEN) {
399 PRINT((" status: %s \n", pStatusStrs[status]));
406 status = lock();
408 unlock(status);
688 // status : OK
831 ECHOSTATUS status;
832 status = card->pEG->InitHw();
833 if (status != ECHOSTATUS_OK)
849 status = install_io_interrupt_handler(card->irq, echo_int, card, 0);
850 if (status != B_OK) {
866 status = card->pEG->OpenMixer(card->mixer);
867 if (status != ECHOSTATUS_OK) {
892 ECHOSTATUS status;
895 status = card->pEG->CloseMixer(card->mixer);
896 if (status != ECHOSTATUS_OK)