Displaying 5 results from an estimated 5 matches for "ipc_key_add_uid".
2005 Nov 12
0
alsa asound.conf or .asoundrc that combines multiple playback and capture
...that same time do "arecord --nonblock -d 1 input.wav"
I have something like:
pcm.!dmixer {
type dmix # plugin type
ipc_key 5678293 # unique ipc id
ipc_perm 0666 # would like to use icp_group
instead
ipc_key_add_uid no # share the same mixer with all
users
slave {
pcm "hw:0,0"
period_time 0 # needed by oss (= 0)
period_size 1024 # needed by oss (= 2^n)
period_size 8192 # needed by oss (= 2^n)...
2008 May 14
2
Surround 6ch sound on Wine?
...or play World of Warcraft, that support on Windows, 6 channel sounds mixing software.
On Ubuntu 8.04 and Wine i get only stereo output.
I've tried to do this .asoundrc for "force" use on Wine, of 6channels and I don't get any sound.
Code:
pcm.!default {
type dmix
ipc_key 1024
ipc_key_add_uid false # let multiple users share
ipc_perm 0660 # IPC permissions (octal, default 0600)
slave {
pcm "hw:0,0" # see below
rate 48000
channels 6
period_time 0
period_size 1024
buffer_time 0
buffer_size 4096
}
}
pcm.asym51 {
type asym
playback.pcm "...
2008 May 24
2
Wine and ALSA
...tel - HDA ATI HDMI
HDA ATI HDMI at 0xfd8fc000 irq 19
1 [CK804 ]: NFORCE - NVidia CK804
NVidia CK804 with ALC850 at irq 22
My .asoundrc:
Code:
boxfire at hammertime ~ $ cat .asoundrc
pcm.dmix8 {
type dmix
ipc_key 12354
ipc_key_add_uid true
slave {
pcm "hw:1,0"
rate 48000
channels 8
period_time 0
period_size 1024
buffer_time 0
buffer_size 8192
}
}
pcm.ch71dup {
type route
slave...
2016 Dec 20
1
Audio in Windows 10 VM is distorted. Using ALSA.
...el
used alsa device:
pcm.dmixed {
type asym
playback.pcm {
# See plugin:dmix at http://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html
type dmix
# Don't block other users, e.g. the Timidity midi-player daemon
# http://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html
ipc_key_add_uid false
ipc_key 1025
ipc_perm 0660
ipc_gid audio
# Don't put the rate here! Otherwise it resets the rate & channels set below, as shown by: cat /proc/asound/card0/pcm0p/sub0/hw_params
slave {
# 2 for stereo, 6 for surround51, 8 for surround71
channels 2
pcm {
format...
2016 Dec 21
1
Re: Audio in Windows 10 VM is distorted. Using ALSA.
...lsa-project.org/
> alsa-doc/alsa-lib/pcm_plugins.html
> type dmix
>
> # Don't block other users, e.g. the Timidity midi-player
> daemon
> # http://www.alsa-project.org/
> alsa-doc/alsa-lib/pcm_plugins.html
> ipc_key_add_uid false
>
> ipc_key 1025
> ipc_perm 0660
> ipc_gid audio
>
> # Don't put the rate here! Otherwise it resets the rate &
> channels set below, as shown by: cat /proc/asound/card0/pcm0p/sub0/
> hw_params
>...