source-output: Add exception handling 70/292670/8 accepted/tizen/unified/20230703.143008 accepted/tizen/unified/dev/20230726.115809
authorJaechul Lee <jcsing.lee@samsung.com>
Thu, 11 May 2023 01:17:24 +0000 (10:17 +0900)
committerSeungbae Shin <seungbae.shin@samsung.com>
Thu, 29 Jun 2023 06:33:02 +0000 (15:33 +0900)
commit78cb2f3f86fe66ede6086dc4955c9f558e56ae45
treea43373b8bab2b4607ca03df04aeda5e9ca584b3b
parent1d4d2fbef26b59703b962d14d1d13ed5672972be
source-output: Add exception handling

Some preprocessors handle a fixed size memblocks. So, if it doesn't have
enough size inside to apply audio-effects, it should wait for more blocks.

If preprocess returns PROCESSOR_ERR_BUFFERING, the I/O thread would do nothing.
And, preprocessor would wait for the next blocks.

[Version] 15.0-20
[Issue Type] Update

Change-Id: I799c083f23cc2add4e57f5ba0f422c6b1cf9b093
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
packaging/pulseaudio.spec
src/pulsecore/source-output.c