[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#609441: Pulseaudio



Hi,

On Sunday, 2011-01-16, Debian wrote:

> I have found something in a german wiki now:
> http://de.wikipedia.org/wiki/PulseAudio
> Here is the diagram:
> http://upload.wikimedia.org/wikipedia/commons/0/00/Pulseaudio-diagram.svg
> 
> 
> Here some stuff about ALSA:
> http://www.sabi.co.uk/Notes/linuxSoundALSA.html
> Diagram
> http://www.alsa-project.org/~tiwai/lk2k/archtect.gif
> 
> Here all together:
> http://0pointer.de/blog/projects/the-linux-audio-stack.html
> 
> 
> There are really (to) much combinations possible for the sound ...
> So i like this picture: :-)
> http://www.trilug.org/~crimsun/linuxaudio.png
> How is it possible to handle this?

All of these are developer level points of view of the system, which 
necessarily contains even parts no longer in use or even "academic" (exisiting 
but never been in widespread use) components.

In practice this is way simpler.
Any application is using some form of audio processing framework, whether it 
is built in or a library shared with others.
The output either happens directly to the device (i.e. ALSA) or indirectly 
through a mixer level (e.g. PulseAudio).

> > Basically a multimedia component decodes data, e.g. from an MP3 file and
> > writes samples to an output. Which can be the audio device provided by
> > ALSA or a mixer daemon such as PulseAudio (which in turn will then
> > output to the device).
> 
> In my case there is only kmix running.
> Has this on this PC the same functionality like Pulseaudio?
> Or is kmix only a frontend for the ALSA-Mixer?

The word mixer is used for different purposes.
A mixer such as KMix or AlsaMixer is basically just a program to control 
volume levels.
Mixing in the sense of PulseAudio is merging different signals into one. While 
merging it can of course also influence the volume thus also provide the 
former functionality.

> When i try to open the shell-version i only get an error message:
> 
> # alsamixer
> Fehler beim Öffen des Mixer-Gerätes: Datei oder Verzeichnis nicht gefunden
> 
> # alsactl init
> Unknown hardware: "USB-Audio" "USB Mixer" "USB0d8c:0201" "" ""
> Hardware is initialized using a guess method
> 
> # alsamixer
> Fehler beim Öffen des Mixer-Gerätes: Datei oder Verzeichnis nicht gefunden
> 
> He can't open the mixer device?

These errors really seem to indicate that there is a problem with the ALSA 
setup.
Can you try that while not being logged in into a desktop environment?
I.e.  on a linux virtual terminal?

> > Can you use aplay mutiple times in parallel?
> 
> At this time there seems to be a problem with aplay!:
> 
> ~$ aplay /usr/lib/openoffice/basis3.2/share/gallery/sounds/drama.wav
> ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
> ALSA lib conf.c:4170:(_snd_config_evaluate) function
> snd_func_card_driver returned error: Datei oder Verzeichnis nicht gefunden
> ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
> ALSA lib conf.c:4170:(_snd_config_evaluate) function snd_func_concat
> returned error: Datei oder Verzeichnis nicht gefunden
> ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
> ALSA lib conf.c:4170:(_snd_config_evaluate) function snd_func_refer
> returned error: Datei oder Verzeichnis nicht gefunden
> ALSA lib conf.c:4649:(snd_config_expand) Evaluate error: Datei oder
> Verzeichnis nicht gefunden
> ALSA lib pcm.c:2190:(snd_pcm_open_noupdate) Unknown PCM default
> aplay: main:654: Fehler beim Öffnen des Gerätes: Datei oder Verzeichnis
> nicht gefunden

This really looks like an ALSA problem to me, if even its own player can't do 
any output. But better check when not logged into KDE,  to see if anything 
might be interfering.


> > Check the second tab which backend you are using and see if the player
> > application of that framework works, e.g. if you have the Xine backend,
> > check the Xine player.
> 
> Xine is the backend.

Right, same as here,

> How can i check the configuration of it.

No idea, probably doesn't have any.

> Must i install the Xine-Player?

No. It worked for me before I installed the Xine player (I am usually using 
mplayer, only installed Xine for some files that mplayer didn't like).

Cheers,
Kevin

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: