Skip to content

Commit

Permalink
Update value format in audio input docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatanklosko committed Oct 2, 2023
1 parent ebb1f6e commit 2c9f47b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/kino/input.ex
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,8 @@ defmodule Kino.Input do
%{
data: binary(),
num_channels: pos_integer(),
sampling_rate: pos_integer()
sampling_rate: pos_integer(),
format: :pcm_f32 | :wav
}
Note that the value can also be `nil`, if no audio is selected.
Expand Down

0 comments on commit 2c9f47b

Please sign in to comment.