pcm_decode: correction to RAW format support
corrects misplaced preprocessor directives for CONFIG_AUDIO_FORMAT_RAW
This commit is contained in:
parent
ac32d1a68e
commit
57d823b69d
@ -1182,14 +1182,16 @@ static int pcm_enqueuebuffer(FAR struct audio_lowerhalf_s *dev,
|
||||
priv->export.upper(priv->export.priv, AUDIO_CALLBACK_COMPLETE,
|
||||
NULL, OK);
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifndef CONFIG_AUDIO_FORMAT_RAW
|
||||
}
|
||||
|
||||
/* This is not a WAV file! */
|
||||
|
||||
auderr("ERROR: Invalid PCM WAV file\n");
|
||||
return -EINVAL;
|
||||
#endif
|
||||
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user