Skip to content

Commit

Permalink
Merge pull request #43 from pipelined/fix-compilation
Browse files Browse the repository at this point in the history
Add plugin compilation to CI
  • Loading branch information
dudk authored Apr 5, 2021
2 parents 33776f3 + 7f57fa0 commit 3c4f1cb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ jobs:
go-version: 1.x
- name: Checkout code
uses: actions/checkout@v2
- name: Test
- name: Test host
run: go test --race --coverprofile=coverage.txt --covermode=atomic ./...
- name: Test plugin
run: go build --buildmode c-archive --tags plugin -o demoplugin.a ./demoplugin
- name: Upload coverage
uses: codecov/codecov-action@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![Test](https://github.com/pipelined/vst2/workflows/Test/badge.svg)](https://github.com/pipelined/vst2/actions?query=workflow%3ATest)
[![codecov](https://codecov.io/gh/pipelined/vst2/branch/master/graph/badge.svg)](https://codecov.io/gh/pipelined/vst2)

`vst2` implements VST2 SDK API. It allows you to interact with plugins and process audio.
`vst2` implements VST2 SDK API. It provides capabilities to build both VST2 hosts and plugins.

## Installation

Expand Down
3 changes: 1 addition & 2 deletions plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ type (

// Dispatcher handles plugin dispatch calls from the host.
Dispatcher struct {
SetBufferSizeFunc(size int)
SetBufferSizeFunc func(size int)
}

// ProcessDoubleFunc defines logic for double signal processing.
Expand Down Expand Up @@ -106,4 +106,3 @@ func getPlugin(cp *C.CPlugin) *Plugin {
defer plugins.RUnlock()
return plugins.mapping[uintptr(unsafe.Pointer(cp))]
}

0 comments on commit 3c4f1cb

Please sign in to comment.