Mailinglist Archive: opensuse-bugs (16662 mails)

< Previous Next >
[Bug 397523] mmapped access with alsa doesn't work anymore
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 6 Jun 2008 01:05:54 -0600 (MDT)
  • Message-id: <20080606070554.D9A7124538D@xxxxxxxxxxxxxxxxxxxxxx>

User tiwai@xxxxxxxxxx added comment

--- Comment #6 from Takashi Iwai <tiwai@xxxxxxxxxx> 2008-06-06 01:05:54 MDT ---
In other words: even if /etc/asound-pulse.conf is the culprit, we'll have still
problems because pulse plugin is enabled as default on GNOME (but not on other
desktops). So, the same situation remains on GNOME.

Can't your code just use normal read/write instead of mmap? If the mmap is
mandatory, a possible workaround is to reopen the PCM as "plug:default" once
after this error happens. This will wrap the default setting again with plug

But, this shouldn't be used as the primary device because (except for pulse)
"default" setup already contains the plug layer.

Or, it might be better (simpler) to fix the pulse plugin setup.
Try to add the following in you ~/.asoundrc:

pcm.!default "plug:pulse"

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >