Portál AbcLinuxu, 23. prosince 2025 06:25
------ Alsa Sound Initialization -----
dlopen(libasound.so.2)
asoundlib version: 1.0.9
opened Alsa PCM device default for playback
device buffer size: 15052 frames ( 60208 bytes )
allocated a mix buffer of 16384 bytes
--------------------------------------
...
Async thread started
snd_pcm_writei short write: 3760 out of 4096
snd_pcm_writei short write: 3760 out of 4096
idAudioHardwareALSA::Write: 4096 frames overflowed and dropped
snd_pcm_writei short write: 3760 out of 4096
snd_pcm_writei short write: 3760 out of 4096
snd_pcm_writei short write: 1880 out of 2048
snd_pcm_writei short write: 940 out of 1024
snd_pcm_writei short write: 940 out of 1024
idAudioHardwareALSA::Write: 4096 frames overflowed and dropped
snd_pcm_writei short write: 940 out of 1024
snd_pcm_writei short write: 940 out of 1024
snd_pcm_writei short write: 940 out of 1024
snd_pcm_writei short write: 2820 out of 3072
idAudioHardwareALSA::Write: 4096 frames overflowed and dropped
Co s tim mám dělat?
/proc/asound/card0/pcm0p/infoResetování se nezdá být problém Linuxu.
Myslím, že se řadím mezi ty zkušenější uživatelea tohle:
[root@amd64 tomas]# /proc/asound/card0/pcm0p/info bash: /proc/asound/card0/pcm0p/info: Přístup odmítnutmi nejde dohromady
. Samozřejmě musíte použít cat.
pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hw:0,0"
period_time 0
period_size 1024
buffer_size 16384
rate 44100
}
bindings {
0 0
1 1
}
}
pcm.dsp0 {
type plug
slave.pcm "dmixer"
}
pcm.!default {
type plug
slave.pcm "dmixer"
}
pcm.default {
type plug
slave.pcm "dmixer"
}
ctl.mixer0 {
type hw
card 0
}
pcm.vstup {
type dsnoop
ipc_key 2048
slave {
pcm "hw:0,0"
channels 2
period_size 1024
buffer_size 4096
rate 44100
periods 0
period_time 0
}
bindings {
0 0
0 1
}
}
pcm.kombinace {
type asym
playback.pcm "dmixer"
capture.pcm "vstup"
}
ctl {
}
pcm {
}
rawmidi {
}
timer {
}
seq {
alsactl1 {
name default
comment 'Default Device - Sequencer (Duplex)'
}
alsactl2 {
name hw
comment 'Physical Device - Sequencer (Duplex)'
}
}
A v druhem je toto:
state.CK8S {
control.1 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Master Playback Switch'
value true
}
control.2 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 31'
iface MIXER
name 'Master Playback Volume'
value.0 29
value.1 29
}
control.3 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Center Playback Switch'
value true
}
..........................
az do control 42
). Ještě, aby s dmix vyřešili tu oss-emulaci a jsem happy.
Latest Software Releases
Package
* Driver * 1.0.10
* Library * 1.0.10
* Lib-plugins * 1.0.10
* Utilities * 1.0.10
* Tools * 1.0.10
* Firmware * 1.0.10
* OSS Compat. Library * 1.0.10
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.