freesig / cpal

Audio player in pure Rust
0 stars 0 forks source link

Audio_Server #27

Open freesig opened 5 years ago

freesig commented 5 years ago

Currently the spatial audio server targets Nannou 0.5, I forked 0.8 not realizing this but I could just fork and older commit or we could try and get the audio server onto 0.8. I've fixed a few minor things already but stuck on:

error[E0277]: the trait bound `gui::custom_widget::sound::Sound<'a>: nannou::ui::widget::Common` is not satisfied
  --> src/lib\gui\custom_widget\sound.rs:78:10
   |
78 | impl<'a> Widget for Sound<'a> {
   |          ^^^^^^ the trait `nannou::ui::widget::Common` is not implemented for `gui::custom_widget::sound::Sound<'a>`

Do you think its there would be much todo to get audio server onto 0.8 @mitchmindtree ?

mitchmindtree commented 5 years ago

Ahh I think audio server might have been written before conrod got "derive" for things like WidgetCommon and WidgetStyle, by the looks of that error anyways. Maybe I'll have a go at updating it to the latest nannou now? Will let you know how it goes.

freesig commented 5 years ago

Running this on windows

freesig commented 5 years ago

Ok finally got it to load with Wasapi and it has the exact same symptoms as Asio. So it's nothing in the ASIO code. I'll try and see where it's getting stuck

Can confirm that the output render thread is not running