mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-20 08:56:56 -05:00
add some more useful defines
Add define to match all ids for nodes and params. Add define for invalid permissions
This commit is contained in:
parent
cf53ededd0
commit
043e7f24fe
25 changed files with 50 additions and 50 deletions
|
|
@ -442,7 +442,7 @@ int main(int argc, char *argv[])
|
|||
*/
|
||||
if ((res = pw_stream_connect(data.stream,
|
||||
PW_DIRECTION_INPUT,
|
||||
data.path ? (uint32_t)atoi(data.path) : SPA_ID_INVALID,
|
||||
data.path ? (uint32_t)atoi(data.path) : PW_ID_ANY,
|
||||
PW_STREAM_FLAG_AUTOCONNECT | /* try to automatically connect this stream */
|
||||
PW_STREAM_FLAG_INACTIVE | /* we will activate ourselves */
|
||||
PW_STREAM_FLAG_EXCLUSIVE | /* require exclusive access */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue