AlexBelchUK / PortAudioBindingsForDart

Port audio library bindings for Dart
GNU General Public License v3.0
5 stars 3 forks source link

Binaries? #1

Open MichealReed opened 3 years ago

MichealReed commented 3 years ago

@AlexB71 could you please upload the binaries for the port audio used with this somewhere or instructions to compile them? When I tried to use a different binary than the one expected here, I saw a crash. I am also not sure where to find code/binaries for the PORT_AUDIO_HELPER_LIBRARY environment variable.

Kickbykick commented 2 years ago

Hi, did you get the .dll files or the .so? I am unable to build this .cpp project.

insinfo commented 1 year ago

I'm also interested in this but the author didn't leave any documentation

Binozo commented 1 month ago

Hello guys,

I figured out how to get that project to compile. Take a look at my fork here

But this is still work in progress. Currently suffering under errors like these:

ALSA lib pcm_dsnoop.c:567:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:1000:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2721:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2721:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2721:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_a52.c:1001:(_snd_pcm_a52_open) a52 is only for playback
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib pcm_dmix.c:1000:(snd_pcm_dmix_open) unable to open slave

while running the example file. Still have to work some things out 🤔

Btw I assume the host machine is Linux and has Portaudio installed. If this is not your case you can modify it easily yourself: https://github.com/Binozo/DartPortAudio/blob/0d0a966e1d01541421ee69cea6e842b5e7a1f44c/port_audio.dart#L109