User Tools

Site Tools


alsa

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
alsa [2026-04-16 02:59 UTC (6 weeks ago)] – More info about alsa penguinowlalsa [2026-04-18 09:29 UTC (6 weeks ago)] (current) – I had better luck with audio output, added my own notes aaronjamt
Line 7: Line 7:
   * other magic to get it actually working?   * other magic to get it actually working?
  
-Saving and restoring alsa device state isn't enough to initialize with from boot. The NX binary is built with [[https://github.com/mackron/miniaudio|miniaudio]] inside of it so perhaps it does some external hardware initialization of the speaker? Couldn't get miniaudio in a custom binary to work without initializing by running NX. Maybe there's a way to coax out the debug logs from a running NX instance.+People have had mixed results with Alsa initialization. One person only had success by running NX: 
 +Saving and restoring alsa device state isn't enough to initialize with from boot. The NX binary is built with [[https://github.com/mackron/miniaudio|miniaudio]] inside of it so perhaps it does some external hardware initialization of the speaker? Couldn't get miniaudio in a custom binary to work without initializing by running NX. Maybe there's a way to coax out the miniaudio debug logs from a running NX instance
 + 
 +Another person found that it worked out-of-the-box: 
 +> Copying an audio file (in my case, a 44.1kHz mono WAV file) onto the SD card and then playing it with ''%%aplay%%'' worked even with NX disabled. ''%%alsamixer%%'' is preinstalled and works for setting the volume.
alsa.1776308378.txt.gz · Last modified: by penguinowl