You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.
Stream shall be created only during transiting from SET_PARAM to PREPARE in the prepare() cmd. Otherwise, we are creating several streams, each time guest triggers the prepare() cmd. See
I thought that the best approach was to add a pw_stream_destroy bindings, because using a Drop impl makes the stream destroy itself automatically as soon as the first one is dropped, even though the "real" Stream wrapper is still being used, but that's apparently not the best approach aswell, Since adding the pw_stream_destroy bindings results in some segfault. The other workaround would have been to create the stream on the condition that the stream has not been created yet, But the condition blocks the usage of stream in the stream_listener.
The other workaround would have been to create the stream on the condition that the stream has not been created yet, But the condition blocks the usage of stream in the stream_listener.
Stream shall be created only during transiting from SET_PARAM to PREPARE in the prepare() cmd. Otherwise, we are creating several streams, each time guest triggers the prepare() cmd. See
vhost-device/crates/sound/src/audio_backends/pw_backend.rs
Line 275 in d2757ae
The text was updated successfully, but these errors were encountered: