mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
pw-cat: Don't set RT_PROCESS flag
The soundfile function calls are not safe to call from the real-time thread so don't do that.
This commit is contained in:
parent
d43b98e1a4
commit
b5b3bfbe84
1 changed files with 1 additions and 2 deletions
|
|
@ -1087,8 +1087,7 @@ int main(int argc, char *argv[])
|
|||
data.mode == mode_playback ? PW_DIRECTION_OUTPUT : PW_DIRECTION_INPUT,
|
||||
data.target_id,
|
||||
PW_STREAM_FLAG_AUTOCONNECT |
|
||||
PW_STREAM_FLAG_MAP_BUFFERS |
|
||||
PW_STREAM_FLAG_RT_PROCESS,
|
||||
PW_STREAM_FLAG_MAP_BUFFERS,
|
||||
params, 1);
|
||||
if (ret < 0) {
|
||||
fprintf(stderr, "error: failed connect: %s\n", spa_strerror(ret));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue