diff --git a/doc/tutorial4.md b/doc/tutorial4.md index ab60482bc..4728e74f2 100644 --- a/doc/tutorial4.md +++ b/doc/tutorial4.md @@ -234,9 +234,9 @@ means that we are ok with conneting to any consumer. Next we set some flags: memory. If you don't set these flags you have either work with the fd or mmap yourself. * `PW_STREAM_FLAG_RT_PROCESS` Run the process function in the realtime thread. - Only use this is the process function only + Only use this if the process function only uses functions that are realtime safe, this means - no allocation or file access or locking. + no allocation or file access or any locking. And last we pass the extra parameters for our stream. Here we only have the allowed formats (`SPA_PARAM_EnumFormat`). diff --git a/doc/tutorial5.md b/doc/tutorial5.md index f51f50c42..c15cc55f0 100644 --- a/doc/tutorial5.md +++ b/doc/tutorial5.md @@ -263,7 +263,7 @@ Now we're ready to connect the stream and run the main loop: ``` To connect we specify that we have an `PW_DIRECTION_INPUT` stream. `PW_ID_ANY` -means that we are ok with conneting to any producer. We also allow the user +means that we are ok with connecting to any producer. We also allow the user to pass an optional target id. We're setting the `PW_STREAM_FLAG_AUTOCONNECT` flag to make an automatic