Skip to content

Commit

Permalink
smol documentation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
maximilianoestudies authored and ortex committed Jan 12, 2025
1 parent d7f49c2 commit 668b7bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ if err != nil {
}
defer context.Close()

sender, err := roc.OpenSender(roc.SenderConfig{
sender, err := roc.OpenSender(context, roc.SenderConfig{
FrameEncoding: roc.MediaEncoding{
Rate: 44100,
Format: roc.FormatPcmFloat32,
Expand Down Expand Up @@ -113,7 +113,7 @@ if err != nil {
}
defer context.Close()

receiver, err := roc.OpenReceiver(roc.ReceiverConfig{
receiver, err := roc.OpenReceiver(context, roc.ReceiverConfig{
FrameEncoding: roc.MediaEncoding{
Rate: 44100,
Format: roc.FormatPcmFloat32,
Expand Down

0 comments on commit 668b7bf

Please sign in to comment.