|
|
@ -3303,7 +3303,7 @@ static int out_get_presentation_position(const struct audio_stream_out *stream, |
|
|
|
uint64_t *frames, struct timespec *timestamp) |
|
|
|
uint64_t *frames, struct timespec *timestamp) |
|
|
|
{ |
|
|
|
{ |
|
|
|
struct stream_out *out = (struct stream_out *)stream; |
|
|
|
struct stream_out *out = (struct stream_out *)stream; |
|
|
|
int ret = -1; |
|
|
|
int ret = -EINVAL; |
|
|
|
|
|
|
|
|
|
|
|
lock_output_stream(out); |
|
|
|
lock_output_stream(out); |
|
|
|
|
|
|
|
|
|
|
@ -3342,7 +3342,6 @@ static int out_get_presentation_position(const struct audio_stream_out *stream, |
|
|
|
ret = 0; |
|
|
|
ret = 0; |
|
|
|
goto done; |
|
|
|
goto done; |
|
|
|
} |
|
|
|
} |
|
|
|
ret = -1; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|