Lines Matching defs:error
76 * Get the OpenAL error code, translated into an av/errno error code.
78 * @param error_msg_ret A pointer to a char* in which to return the error message, or NULL if desired.
79 * @return The error code, or 0 if there is no error.
83 ALCenum error = alcGetError(device);
85 *error_msg_ret = (const char*) alcGetString(device, error);
86 switch (error) {
128 int error = 0;
147 if (error = al_get_error(ad->device, &error_msg)) goto fail;
151 error = AVERROR(ENOMEM);
180 return error;
186 int error=0;
193 if (error = al_get_error(ad->device, &error_msg)) goto fail;
202 if ((error = av_new_packet(pkt, nb_samples*ad->sample_step)) < 0)
208 if (error = al_get_error(ad->device, &error_msg)) goto fail;
217 return error;