User Tools

Site Tools


alsa

Differences

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

Link to this comparison view

Next revision
Previous revision
alsa [2026-04-14 19:48 UTC (7 weeks ago)] – created very empty page 1e1001alsa [2026-04-18 09:29 UTC (6 weeks ago)] (current) – I had better luck with audio output, added my own notes aaronjamt
Line 6: Line 6:
   * ''amixer sset PCM 144''   * ''amixer sset PCM 144''
   * other magic to get it actually working?   * other magic to get it actually working?
 +
 +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.1776196097.txt.gz · Last modified: by 1e1001