Skip to content

Commit

Permalink
Merge pull request #9 from membraneframework/feature/dirty-nif
Browse files Browse the repository at this point in the history
Make convert/2 a dirty CPU NIF
  • Loading branch information
bblaszkow06 authored Dec 14, 2018
2 parents 590375f + 8240e81 commit 174a3dd
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 174a3dd

Please sign in to comment.