Skip to content

Commit

Permalink
Make convert/2 a dirty CPU NIF
Browse files Browse the repository at this point in the history
  • Loading branch information
bblaszkow06 committed Dec 14, 2018
1 parent 590375f commit 8240e81
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions c_src/membrane_element_ffmpeg_swresample/converter.spec.exs
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,5 @@ spec create(
# so you won't be able to resample only a couple of samples. The actual threshold depends on
# conversion parameters.
spec convert(payload, state) :: {:ok :: label, payload} | {:error :: label, reason :: atom}

dirty :cpu, [convert: 2]

0 comments on commit 8240e81

Please sign in to comment.