Add a missing NULL check.
The get_next_write_timestamp method introduced to the audio HAL is optional. HALs which do not implement it leave it set to NULL. Callers (there is currently only one in the AudioMixer code) need to be certain to check for NULL before invoking it. Change-Id: I9e06d688311c388446bb53993291ebc0f98cff89
Loading
Please register or sign in to comment