Audio output broken on firmware 1.0.0 [audout]
opened this issue · comments
Audio output does not work on 1.0.0. I tested with all of the audio examples from switch-examples, playing an MP3 with NX-Shell, and playing a game with mGBA and all of them were completely silent; I tested with NROs compiled with the latest libnx. Here is the output from the audio switch-examples:
- audren-simple.nro: https://i.imgur.com/nu6Zw6K.jpg
- echo.nro: https://i.imgur.com/dLAVCPM.jpg
- playtone.nro: https://i.imgur.com/We7lqzw.jpg
I believe the return result in audren-simple.nro
may be the problem, as 0x499 is the Invalid buffer address
failure case. It seems a similar issue may have been fixed in the past but audio output remains broken.
No output from echo example is normal when an audio-input isn't connected.
Did you ever try audio on 1.0.0 before?
I haven't tried it beforehand, unfortunately.
libnx audren currently doesn't support pre-3.0.0 (same error on both 1.0.0/v2.x).
Not sure what broke with audout. :-/
Try this:
playtone_libnxv141_with20204e3c.zip
tested on my 1.0 console; no output
works fine on my 2.1 console though
Also this:
audren-simple_audrenrev1.zip
Tested both; audren-simple inits everything with no error codes and plays sound correctly, playtone gives no output/silence.
With testing on IRC, apparently audout was broken since the very first libnx release. :-(
On my v2.x system the output volume is 0, dunno why (otherwise works fine).
No audio output on 1.0
EDIT: {original build removed}
playtone_volume3.zip
No audio output on 1.0.0 with the build from playtone_volume3.zip
; here is the extra output that was added.
Don't know what else to try. :-/
Are you all testing this under an Application or LibraryApplet/Album?
I tested this under Atmosphère's album redirection with the latest nx-hbloader hbl.nsp each time.
Try with Application?
audren should be fixed with 1.6.0.
audout still needs debugging and testing.
Still waiting on applet-Application testing/debugging.....
Pinging @yuukieve again...
My apologies @yellows8, but I still can't seem to boot hbmenu or any NRO from an application, both with Ams and stock with PegaSwitch+nspwn.js, I get a crash with 2345-0031, so I have not been able to test this. I've not made any progress on debugging why this is the case, either.
Can you modify libnx to debug it?
Per IRC, had to edit hbl.json
and recompile nx-hbloader for PPT S JP and was able to launch hbmenu from it successfully, and playtone.nro
remained silent, so the issue doesn't seem to be dependent on application type.
Anyone else still on 1.0 who could try to shed some light on this issue?
Any caviats on downgrading from 7.0.1 to 1.0? If you can provide a modified version that takes logs i can send them to you.
I've got a 1.0, willing to test whatever. From memory, audren worked fine, just not audout (which several homebrew use for sound); I was going to try to do some IPC logging via a mitm of audout but I got sidetracked on that
Can someone try moving the audoutStartAudioOut call before the sample-rate printf, and check if the displayed output changes? EDIT: nvm
Can someone try using audout from hbl running under flog, with 1.0.0? Ideally with the official flog launch method.
This issue is 2 years old, can we close it please since it was most likely fixed
AFAIK it is not fixed, this will not be closed until it's proven to be fixed.