[wdmaudiodev] Re: Raspberry Pi OTG Audio

  • From: Børge Strand-Bergesen <borge.strand@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Sun, 11 Feb 2018 20:16:42 +0100

Hi Robert,

Device code:
https://github.com/borgestrand/sdr-widget/tree/audio-widget-experimental
The main state machine is in uac2_device_audio_task.c.
aw_readme.txt explains a lot about the project.


ASIO driver code:
https://github.com/nikkov/Win-Widget

Now, all of this is a lot of code and large projects to get an overview of.
Perhaps you could tell us what you wish to achieve. Do you need improved
device or driver code?

"Set the phase" = "define the speed" in this context.

Cheers,
Børge



On Sun, Feb 11, 2018 at 7:37 PM, Robert Bielik <Robert.Bielik@xxxxxxxxx>
wrote:

Thanks Børge,

If it is of any help: I work on an open source project with UAC2 device
and
ASIO driver, both with audio OUT and feedback IN endpoints. All
functional.

It might be, do you have a link to that project ?

AFAIK you can use an audio IN endpoint to set the phase as an
alternative to
dedicated feedback IN.

Ok, don't really know what phase means in this context, but I'll look it
up 😊

Regards
/Robert


Børge

On Sunday, February 11, 2018, Robert Bielik <Robert.Bielik@xxxxxxxxx
<mailto:Robert.Bielik@xxxxxxxxx> > wrote:


      > Wait, never mind – I recognize that failing status code.
usbaudio2.sys is
      > complaining that you have an asynchronous data OUT
endpoint but it can’t
      > find a corresponding feedback endpoint.

      Thanks Matthew, that explains it. And this is, as of linux 4.15.*
not implemented, there is no feedback endpoint defined in the UAC2 gadget
driver.

      Damn.

      Regards
      /Robert





Other related posts: