Skip to content

Commit

Permalink
chore(soundpipeactions)#: Update action to be more compatible with C#…
Browse files Browse the repository at this point in the history
… nugets out of the gate
  • Loading branch information
BlueCyro committed Sep 10, 2024
1 parent 07dbc6c commit cf5995b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/build-linux-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ on:
push:
branches:
- master


workflow_call:


jobs:
Build:
Expand All @@ -29,7 +31,11 @@ jobs:
run: bash make_linux_shared.sh

- name: Move Linux library to output
run: mv libsoundpipe.so ${{ steps.buildoutput.outputs.build-output-dir }}
run: |
mkdir ${{ steps.buildoutput.outputs.build-output-dir }}/runtimes
mkdir ${{ steps.buildoutput.outputs.build-output-dir }}/runtimes/win-x64
mkdir ${{ steps.buildoutput.outputs.build-output-dir }}/runtimes/win-x64/native
mv libsoundpipe.so ${{ steps.buildoutput.outputs.build-output-dir }}/runtimes/linux-x64/native
- name: Clean up Linux build
run: make clean
Expand All @@ -38,7 +44,12 @@ jobs:
run: bash make_windows_shared.sh

- name: Move Windows library to output
run: mv libsoundpipe.dll ${{ steps.buildoutput.outputs.build-output-dir }}

run: |
mkdir ${{ steps.buildoutput.outputs.build-output-dir }}/runtimes
mkdir ${{ steps.buildoutput.outputs.build-output-dir }}/runtimes/linux-x64
mkdir ${{ steps.buildoutput.outputs.build-output-dir }}/runtimes/linux-x64/native
mv libsoundpipe.dll ${{ steps.buildoutput.outputs.build-output-dir }}/runtimes/linux-x64/native
- name: Pack it with a big red ribbon
uses: actions/upload-artifact@v4
Expand Down
6 changes: 4 additions & 2 deletions modules/zitarev.c
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ static void computezitarev(zitarev* dsp, int count, FAUSTFLOAT** inputs, FAUSTFL
dsp->fRec6[1] = dsp->fRec6[0];
dsp->fRec7[2] = dsp->fRec7[1];
dsp->fRec7[1] = dsp->fRec7[0];
dsp->fRec8[2] = dsp->fRec8[1];
dsp->fRec8[2] = dsp->fRec8[1];
dsp->fRec8[1] = dsp->fRec8[0];
dsp->fRec9[2] = dsp->fRec9[1];
dsp->fRec9[1] = dsp->fRec9[0];
Expand Down Expand Up @@ -1061,9 +1061,11 @@ int sp_zitarev_compute(sp_data *sp, sp_zitarev *p, SPFLOAT *in1, SPFLOAT *in2, S
return SP_OK;
}

int sp_zitarev_compute_many(sp_data *sp, sp_zitarev *p, int count, SPFLOAT **stereo_in, SPFLOAT **stereo_out)
int sp_zitarev_compute_many(sp_data *sp, sp_zitarev *p, int count, int mono_input, SPFLOAT **stereo_in, SPFLOAT **stereo_out)
{
zitarev *dsp = p->faust;

computezitarev(dsp, count, stereo_in, stereo_out);

return SP_OK;
}

0 comments on commit cf5995b

Please sign in to comment.