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

@ -120,7 +120,7 @@ int main(int argc, char *argv[])
pw_stream_connect(data.stream,
PW_DIRECTION_OUTPUT,
argc > 1 ? argv[1] : NULL,
argc > 1 ? atoi(argv[1]) : SPA_ID_INVALID,
PW_STREAM_FLAG_AUTOCONNECT |
PW_STREAM_FLAG_MAP_BUFFERS |
PW_STREAM_FLAG_RT_PROCESS,