Code Monkey home page Code Monkey logo

Comments (6)

diogocalgaro avatar diogocalgaro commented on July 26, 2024 1

It is working fine now.
Thanks!

from ds4windows.

Ryochan7 avatar Ryochan7 commented on July 26, 2024

This probably has to do with the output report being used to activate rumble. There is a workaround to make sure the headphone output volume stays the same. I guess something similar will have to be done to make sure the microphone volume does not change either. I don't know which byte in the output report would be used for microphone volume. Also, I don't know if the current class being used to monitor the headphone volume can be used to monitor the microphone volume as well.

from ds4windows.

diogocalgaro avatar diogocalgaro commented on July 26, 2024

Just to complete the info: the audio output to the earphones works fine, apparently, before and after open ds4win. Just the microphone input is that stops working. However it came back to work after closing ds4windows, it doesn't need to reboot the PC.
Also, it doesn't seens to be the volume been set to zero. More like it is disconnected.

from ds4windows.

Ryochan7 avatar Ryochan7 commented on July 26, 2024

I am just getting around to testing this. After looking around, I didn't find any information about what might control the microphone volume control in the output report. Some exploratory testing seems to have led me to an answer to this problem. When no output reports are sent, the microphone still functions as expected. It is only after output reports are being sent to the controller that problems being.

Through trial and error, it looks like byte 21 in the output report controls the microphone volume of the DS4. Recording works fine when sending output reports with a value being sent for that byte. It looks like it should be possible to keep the microphone working when the controller is being used in DS4Windows. The major hurdle is grabbing the appropriate volume level.

from ds4windows.

Ryochan7 avatar Ryochan7 commented on July 26, 2024

A minor change to the DS4Audio class was all that was needed to grab the Windows volume for the microphone and use it in output reports.

from ds4windows.

Ryochan7 avatar Ryochan7 commented on July 26, 2024

It looks like the proposed change should work just fine and this issue will be fixed in the next release. I hardly even use the headphone jack on the DS4 so having access to the microphone wouldn't have been something I would have worried about. It will probably help out quite a few people so it is good that a fix was found.

from ds4windows.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.