|
@@ -575,17 +575,13 @@ int open_audio(player_stat_t *is)
|
|
|
}
|
|
|
else {
|
|
|
if (0 == open_audio_stream(is)) {
|
|
|
- is->rvc_hostapi->Debug(MEDIA_LOG_DEBUG, "open audio stream success");
|
|
|
iret = open_audio_playing(is);
|
|
|
- if (0 == iret) {
|
|
|
- is->rvc_hostapi->Debug(MEDIA_LOG_DEBUG, "open audio playing success");
|
|
|
- }
|
|
|
- else {
|
|
|
- is->rvc_hostapi->Debug(MEDIA_LOG_DEBUG, "open audio playing failed");
|
|
|
+ if (0 != iret) {
|
|
|
+ is->rvc_hostapi->Debug(MEDIA_LOG_ERROR, "open audio playing failed");
|
|
|
}
|
|
|
}
|
|
|
else {
|
|
|
- is->rvc_hostapi->Debug(MEDIA_LOG_DEBUG, "open audio stream failed");
|
|
|
+ is->rvc_hostapi->Debug(MEDIA_LOG_ERROR, "open audio stream failed");
|
|
|
}
|
|
|
}
|
|
|
|