Tiny Core Base > piCore Test Releases

piCore15.0 Beta

<< < (6/23) > >>

geev03:
Alsa

Read the Forum  and tried
"
tc@box:~$ speaker-test -Ddefault:1 -c2 -t wav -l1

speaker-test 1.2.9

Playback device is default:1
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
ALSA lib conf.c:5671:(snd_config_expand) Unknown parameters 1
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM default:1
Playback open error: -22,Invalid argument
tc@box:~$

Tried  to edit

# default
pcm.!default {
   type plug
   slave.pcm "hw:0,0"
}

etc.
USB Sound card is in use now ( as temporary solution ).


Paul_123:
"Read the forum" doesn't tell us anything.

A pi400 has several different audio configurations, it all depends on what you put in your config.txt file.   We also need to know what extensions you have loaded.   Also check dmesg to see if there are any audio related errors.

Juanito:
I just tried with Xorg-3d:
--- Code: ---speaker-test -D sysdefault:CARD=vc4hdmi0 -c2 -t wav -l1

aplay -D sysdefault:CARD=vc4hdmi0 /usr/local/share/sounds/alsa/Front_Center.wav

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 1: vc4hdmi0 [vc4-hdmi-0], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: vc4hdmi1 [vc4-hdmi-1], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
--- End code ---
..works fine.

Following the above, running pavucontrol, which starts the dbus daemon and pulseaudio, xmms-pulse played music to the hdmi output without problems.

Juanito:

--- Quote from: geev03 on June 12, 2024, 06:25:22 AM ---Audacity fails to start

--- End quote ---
That is correct - I'll take a look.


--- Quote ---tce-load -wi  vlc crashes the system !! 

--- End quote ---
vlc works without problems for me.

patrikg:
I have to remind to check the config.txt file to modify the device tree:

https://www.raspberrypi.com/documentation/computers/config_txt.html#hdmi-audio

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version