mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
look for libpulse in multiple different places
This commit is contained in:
parent
b979ab3948
commit
2c7f2c5e79
1 changed files with 7 additions and 1 deletions
|
|
@ -3,7 +3,13 @@
|
||||||
import pygtk, gtk
|
import pygtk, gtk
|
||||||
from ctypes import *
|
from ctypes import *
|
||||||
|
|
||||||
|
try:
|
||||||
libpulse = cdll.LoadLibrary("../.libs/libpulse.so")
|
libpulse = cdll.LoadLibrary("../.libs/libpulse.so")
|
||||||
|
except OSError:
|
||||||
|
try:
|
||||||
|
libpulse = cdll.LoadLibrary(".libs/libpulse.so")
|
||||||
|
except OSError:
|
||||||
|
libpulse = cdll.LoadLibrary("libpulse.so")
|
||||||
|
|
||||||
class ChannelMap(Structure):
|
class ChannelMap(Structure):
|
||||||
_fields_ = [("channels", c_ubyte),
|
_fields_ = [("channels", c_ubyte),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue