stream: pass target id as uint32_t

This commit is contained in:
Wim Taymans 2018-11-02 11:52:39 +01:00
parent 8089d856c8
commit b905b70a76
7 changed files with 12 additions and 11 deletions

View file

@ -249,7 +249,7 @@ int main(int argc, char *argv[])
pw_stream_connect(data.stream,
PW_DIRECTION_INPUT,
data.path,
data.path ? atoi(data.path) : SPA_ID_INVALID,
PW_STREAM_FLAG_AUTOCONNECT |
PW_STREAM_FLAG_INACTIVE |
PW_STREAM_FLAG_EXCLUSIVE |