summaryrefslogtreecommitdiff
path: root/include/hardware/audio_alsaops.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hardware/audio_alsaops.h')
-rw-r--r--include/hardware/audio_alsaops.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hardware/audio_alsaops.h b/include/hardware/audio_alsaops.h
index 476c311f..6a17a351 100644
--- a/include/hardware/audio_alsaops.h
+++ b/include/hardware/audio_alsaops.h
@@ -60,7 +60,7 @@ static inline enum pcm_format pcm_format_from_audio_format(audio_format_t format
case AUDIO_FORMAT_PCM_FLOAT: /* there is no equivalent for float */
default:
LOG_ALWAYS_FATAL("pcm_format_from_audio_format: invalid audio format %#x", format);
- return PCM_FORMAT_INVALID; /* doesn't get here, assert called above */
+ return 0;
}
}
@@ -94,7 +94,7 @@ static inline audio_format_t audio_format_from_pcm_format(enum pcm_format format
#endif
default:
LOG_ALWAYS_FATAL("audio_format_from_pcm_format: invalid pcm format %#x", format);
- return AUDIO_FORMAT_INVALID; /* doesn't get here, assert called above */
+ return 0;
}
}