Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Witam.
Dawno mnie tutaj nie było bo dawno już nie miałem problemu takiego którego bym nie rozwiązał z pomocą google.
Niestety z tym nie mogę się uporać a google w sumie nie wiele mi podpowiedziało w tej kwestii.
Cały dźwięk z laptopa archlinux (vasco) ma być wysłany do serwera debian (VHS)
Problem:
Po wydaniu polecenia
pactl load-module module-tunnel-sink server=10.0.1.1
na (vasco) dźwięk ładnie przechodzi na pulseaudio (VHS), niestety ten po 20-30s się wysypuje i dźwięk wraca na laptopa. :/
Logi z (VHS)
vasco@vhs:~$ pulseaudio -v I: main.c: We're in the group 'pulse-rt', allowing real-time and high-priority scheduling. I: core-util.c: Successfully gained nice level -11. I: main.c: daemon startup successful.
vhs:~# tail -f /var/log/syslog |grep pulseaudio Jan 17 13:47:08 vhs pulseaudio[4999]: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operacja niedozwolona Jan 17 13:47:08 vhs pulseaudio[4999]: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operacja niedozwolona Jan 17 13:47:08 vhs pulseaudio[4999]: main.c: This is PulseAudio 0.9.10 Jan 17 13:47:08 vhs pulseaudio[4999]: main.c: Page size is 4096 bytes Jan 17 13:47:08 vhs pulseaudio[4999]: main.c: Fresh high-resolution timers available! Bon appetit! Jan 17 13:47:08 vhs pulseaudio[4999]: module-alsa-sink.c: Successfully opened device surround51. Jan 17 13:47:08 vhs pulseaudio[4999]: module-alsa-sink.c: Device doesn't support mmap(), falling back to UNIX read/write mode. Jan 17 13:47:08 vhs pulseaudio[4999]: alsa-util.c: Unable to attach to mixer surround51: Nie ma takiego pliku ani katalogu Jan 17 13:47:08 vhs pulseaudio[4999]: alsa-util.c: Unable to attach to mixer hw:(null): Nie ma takiego urządzenia Jan 17 13:47:08 vhs pulseaudio[4999]: sink.c: Created sink 0 "sur51" with sample spec "s16le 6ch 48000Hz" Jan 17 13:47:08 vhs pulseaudio[4999]: source.c: Created source 0 "sur51.monitor" with sample spec "s16le 6ch 48000Hz" Jan 17 13:47:08 vhs pulseaudio[4999]: module-alsa-sink.c: Using 8 fragments of size 2868 bytes. Jan 17 13:47:08 vhs pulseaudio[4999]: module-alsa-sink.c: Starting playback. Jan 17 13:47:08 vhs pulseaudio[4999]: module.c: Loaded "module-alsa-sink" (index: #0; argument: "device="surround51" channels=6 sink_name=sur51"). Jan 17 13:47:08 vhs pulseaudio[4999]: module.c: Loaded "module-esound-protocol-unix" (index: #1; argument: ""). Jan 17 13:47:08 vhs pulseaudio[4999]: protocol-native.c: loading cookie from disk. Jan 17 13:47:08 vhs pulseaudio[4999]: module.c: Loaded "module-native-protocol-unix" (index: #2; argument: ""). Jan 17 13:47:08 vhs pulseaudio[4999]: module.c: Loaded "module-esound-protocol-tcp" (index: #3; argument: "auth-anonymous=1"). Jan 17 13:47:08 vhs pulseaudio[4999]: protocol-native.c: using already loaded auth cookie. Jan 17 13:47:08 vhs pulseaudio[4999]: protocol-native.c: using already loaded auth cookie. Jan 17 13:47:08 vhs pulseaudio[4999]: module.c: Loaded "module-native-protocol-tcp" (index: #4; argument: "auth-anonymous=1"). Jan 17 13:47:08 vhs pulseaudio[4999]: module.c: Loaded "module-zeroconf-publish" (index: #5; argument: ""). Jan 17 13:47:08 vhs pulseaudio[4999]: module.c: Loaded "module-rtp-recv" (index: #6; argument: ""). Jan 17 13:47:08 vhs pulseaudio[4999]: module.c: Loaded "module-volume-restore" (index: #7; argument: ""). Jan 17 13:47:08 vhs pulseaudio[4999]: module.c: Loaded "module-default-device-restore" (index: #8; argument: ""). Jan 17 13:47:08 vhs pulseaudio[4999]: module.c: Loaded "module-rescue-streams" (index: #9; argument: ""). Jan 17 13:47:08 vhs pulseaudio[4999]: module.c: Loaded "module-suspend-on-idle" (index: #10; argument: ""). Jan 17 13:47:09 vhs pulseaudio[4999]: module.c: Loaded "module-gconf" (index: #11; argument: ""). Jan 17 13:47:09 vhs pulseaudio[4999]: main.c: Daemon startup complete. Jan 17 13:47:09 vhs pulseaudio[4999]: module-suspend-on-idle.c: Source sur51.monitor idle for too long, suspending ... Jan 17 13:47:09 vhs pulseaudio[4999]: module-suspend-on-idle.c: Sink sur51 idle for too long, suspending ... Jan 17 13:47:09 vhs pulseaudio[4999]: module-alsa-sink.c: Device suspended... Jan 17 13:47:29 vhs pulseaudio[4999]: socket-server.c: TCP connection accepted by tcpwrap. Jan 17 13:47:29 vhs pulseaudio[4999]: client.c: Created 0 "Native client (TCP/IP client from 10.0.1.10:33611)" Jan 17 13:47:29 vhs pulseaudio[4999]: client.c: Client 0 changed name from "Native client (TCP/IP client from 10.0.1.10:33611)" to "PulseAudio" Jan 17 13:47:29 vhs pulseaudio[4999]: module-volume-restore.c: Restoring sink for <pulsecore/protocol-native.c$PulseAudio> Jan 17 13:47:29 vhs pulseaudio[4999]: module-volume-restore.c: Restoring volume for <pulsecore/protocol-native.c$PulseAudio> Jan 17 13:47:29 vhs pulseaudio[4999]: module-alsa-sink.c: Trying resume... Jan 17 13:47:29 vhs pulseaudio[4999]: module-alsa-sink.c: Resumed successfully... Jan 17 13:47:29 vhs pulseaudio[4999]: resampler.c: Forcing resampler 'copy', because of fixed, identical sample rates. Jan 17 13:47:29 vhs pulseaudio[4999]: resampler.c: Using resampler 'copy' Jan 17 13:47:29 vhs pulseaudio[4999]: resampler.c: Using s16le as working format. Jan 17 13:47:29 vhs pulseaudio[4999]: sink-input.c: Created input 0 "(null) for vasco@vasco" on sur51 with sample spec s16le 2ch 48000Hz and channel map front-left,front-right Jan 17 13:47:29 vhs pulseaudio[4999]: module-alsa-sink.c: Starting playback. Jan 17 13:47:51 vhs pulseaudio[4999]: main.c: Daemon shutdown initiated. Jan 17 13:47:51 vhs pulseaudio[4999]: module.c: Unloading "module-alsa-sink" (index: #0). Jan 17 13:47:51 vhs pulseaudio[4999]: module-rescue-streams.c: No evacuation sink found. Jan 17 13:47:51 vhs pulseaudio[4999]: sink-input.c: Freeing output 0 "ALSA PCM on surround51 (ADC Capture/Standard PCM Playback) for vasco@vasco" Jan 17 13:47:51 vhs pulseaudio[4999]: sink.c: Freeing sink 0 "sur51" Jan 17 13:47:51 vhs pulseaudio[4999]: source.c: Freeing source 0 "sur51.monitor" Jan 17 13:47:51 vhs pulseaudio[4999]: module.c: Unloaded "module-alsa-sink" (index: #0). Jan 17 13:47:51 vhs pulseaudio[4999]: module.c: Unloading "module-esound-protocol-unix" (index: #1). Jan 17 13:47:51 vhs pulseaudio[4999]: module.c: Unloaded "module-esound-protocol-unix" (index: #1). Jan 17 13:47:51 vhs pulseaudio[4999]: module.c: Unloading "module-native-protocol-unix" (index: #2). Jan 17 13:47:51 vhs pulseaudio[4999]: module.c: Unloaded "module-native-protocol-unix" (index: #2). Jan 17 13:47:51 vhs pulseaudio[4999]: module.c: Unloading "module-esound-protocol-tcp" (index: #3). Jan 17 13:47:51 vhs pulseaudio[4999]: module.c: Unloaded "module-esound-protocol-tcp" (index: #3). Jan 17 13:47:51 vhs pulseaudio[4999]: module.c: Unloading "module-native-protocol-tcp" (index: #4). Jan 17 13:47:51 vhs pulseaudio[4999]: client.c: Freed 0 "PulseAudio" Jan 17 13:47:51 vhs pulseaudio[4999]: module.c: Unloaded "module-native-protocol-tcp" (index: #4). Jan 17 13:47:51 vhs pulseaudio[4999]: module.c: Unloading "module-zeroconf-publish" (index: #5). Jan 17 13:47:51 vhs pulseaudio[4999]: module.c: Unloaded "module-zeroconf-publish" (index: #5). Jan 17 13:47:51 vhs pulseaudio[4999]: module.c: Unloading "module-rtp-recv" (index: #6). Jan 17 13:47:51 vhs pulseaudio[4999]: module.c: Unloaded "module-rtp-recv" (index: #6). Jan 17 13:47:51 vhs pulseaudio[4999]: module.c: Unloading "module-volume-restore" (index: #7). Jan 17 13:47:51 vhs pulseaudio[4999]: module.c: Unloaded "module-volume-restore" (index: #7). Jan 17 13:47:51 vhs pulseaudio[4999]: module.c: Unloading "module-default-device-restore" (index: #8). Jan 17 13:47:51 vhs pulseaudio[4999]: module.c: Unloaded "module-default-device-restore" (index: #8). Jan 17 13:47:51 vhs pulseaudio[4999]: module.c: Unloading "module-rescue-streams" (index: #9). Jan 17 13:47:51 vhs pulseaudio[4999]: module.c: Unloaded "module-rescue-streams" (index: #9). Jan 17 13:47:51 vhs pulseaudio[4999]: module.c: Unloading "module-suspend-on-idle" (index: #10). Jan 17 13:47:51 vhs pulseaudio[4999]: module.c: Unloaded "module-suspend-on-idle" (index: #10). Jan 17 13:47:51 vhs pulseaudio[4999]: module.c: Unloading "module-gconf" (index: #11). Jan 17 13:47:51 vhs pulseaudio[4999]: module.c: Unloaded "module-gconf" (index: #11). Jan 17 13:47:51 vhs pulseaudio[4999]: main.c: Daemon terminated.
Szczerze powiedziawszy to nie wiem czego się tutaj czepiać do google wklejałem praktycznie linijka po linijce i nie znalazłem nic co by rozwiązało ten problem.
Znając życie przydałaby się konfiguracje więc zamieszczam:
(VHS) debian:
vhs:~# cat /etc/pulse/default.pa #!/usr/bin/pulseaudio -nF # # This file is part of PulseAudio. # # PulseAudio is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # PulseAudio is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License # along with PulseAudio; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. .nofail ### Load something into the sample cache #load-sample-lazy x11-bell /usr/share/sounds/gtk-events/activate.wav load-sample-lazy pulse-hotplug /usr/share/sounds/startup3.wav #load-sample-lazy pulse-access /usr/share/sounds/generic.wav .fail ### Load audio drivers statically (it's probably better to not load ### these drivers manually, but instead use module-hal-detect -- ### see below -- for doing this automatically) #load-module module-alsa-sink load-module module-alsa-sink device="surround51" channels=6 sink_name=sur51 #load-module module-alsa-source device=hw:1,0 #load-module module-oss device="/dev/dsp" sink_name=output source_name=input #load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input #load-module module-null-sink #load-module module-pipe-sink ### Automatically load driver modules depending on the hardware available #.ifexists module-hal-detect.so #load-module module-hal-detect #.else ### Alternatively use the static hardware detection module (for systems that ### lack HAL support) #load-module module-detect #.endif ### Load several protocols .ifexists module-esound-protocol-unix.so load-module module-esound-protocol-unix .endif load-module module-native-protocol-unix ### Network access (may be configured with paprefs, so leave this commented ### here if you plan to use paprefs) load-module module-esound-protocol-tcp auth-anonymous=1 load-module module-native-protocol-tcp auth-anonymous=1 load-module module-zeroconf-publish ### Load the RTP reciever module (also configured via paprefs, see above) load-module module-rtp-recv ### Load the RTP sender module (also configured via paprefs, see above) #load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 description="RTP Multicast Sink" #load-module module-rtp-send source=rtp.monitor ### Automatically restore the volume of playback streams load-module module-volume-restore ### Automatically restore the default sink/source when changed by the user during runtime load-module module-default-device-restore ### Automatically move streams to the default sink if the sink they are ### connected to dies, similar for sources load-module module-rescue-streams ### Automatically suspend sinks/sources that become idle for too long load-module module-suspend-on-idle ### Load X11 bell module #load-module module-x11-bell sample=x11-bell ### Register ourselves in the X11 session manager # Deactivated by default, to avoid deadlock when PA is started as esd from gnome-session # Instead we load this via /etc/xdg/autostart/ and "pactl load-module" now # load-module module-x11-xsmp ### Load additional modules from GConf settings. This can be configured with the paprefs tool. ### Please keep in mind that the modules configured by paprefs might conflict with manually ### loaded modules. .ifexists module-gconf.so .nofail load-module module-gconf .fail .endif ### Publish connection data in the X11 root window .ifexists module-x11-publish.so .nofail #load-module module-x11-publish .fail .endif ### Make some devices default #set-default-sink output #set-default-source input vhs:~#
vhs:~# cat /etc/pulse/daemon.conf # $Id: daemon.conf.in 2175 2008-03-27 23:39:10Z lennart $ # # This file is part of PulseAudio. # # PulseAudio is free software; you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # PulseAudio is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License # along with PulseAudio; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. ## Configuration file for the PulseAudio daemon. See pulse-daemon.conf(5) for ## more information. Default values a commented out. Use either ; or # for ## commenting. daemonize = yes ; fail = yes ; disallow-module-loading = no ; use-pid-file = yes ; system-instance = no ; disable-shm = no ; high-priority = yes ; nice-level = -11 realtime-scheduling = no realtime-priority = 5 ; exit-idle-time = -1 ; module-idle-time = 20 ; scache-idle-time = 20 ; dl-search-path = (depends on architecture) ; default-script-file = ; log-target = auto ; log-level = notice ; resample-method = speex-float-3 ; disable-remixing = no ; no-cpu-limit = no ; rlimit-as = -1 ; rlimit-core = -1 ; rlimit-data = -1 ; rlimit-fsize = -1 ; rlimit-nofile = 256 ; rlimit-stack = -1 ; rlimit-nproc = -1 ; rlimit-memlock = -1 ; rlimit-nice = 31 ; rlimit-rtprio = 9 default-sample-format = s16le default-sample-rate = 48000 default-sample-channels = 6 default-fragments = 8 default-fragment-size-msec = 5 vhs:~#
(vasco) archlinux
┌─[vasco@vasco] - [~] - [wto sty 17, 02:17] └─[$]> sudo cat /etc/pulse/default.pa #!/usr/bin/pulseaudio -nF # # This file is part of PulseAudio. # # PulseAudio is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # PulseAudio is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License # along with PulseAudio; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. # This startup script is used only if PulseAudio is started per-user # (i.e. not in system mode) .nofail ### Load something into the sample cache #load-sample-lazy x11-bell /usr/share/sounds/gtk-events/activate.wav #load-sample-lazy pulse-hotplug /usr/share/sounds/startup3.wav #load-sample-lazy pulse-coldplug /usr/share/sounds/startup3.wav #load-sample-lazy pulse-access /usr/share/sounds/generic.wav .fail ### Automatically restore the volume of streams and devices load-module module-device-restore load-module module-stream-restore load-module module-card-restore ### Automatically augment property information from .desktop files ### stored in /usr/share/application load-module module-augment-properties ### Load audio drivers statically ### (it's probably better to not load these drivers manually, but instead ### use module-udev-detect -- see below -- for doing this automatically) load-module module-alsa-sink device=hw:0 load-module module-alsa-source device=hw:0 #load-module module-oss device="/dev/dsp" sink_name=output source_name=input #load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input #load-module module-null-sink #load-module module-pipe-sink ### Automatically load driver modules depending on the hardware available .ifexists module-udev-detect.so load-module module-udev-detect .else ### Use the static hardware detection module (for systems that lack udev/hal support) load-module module-detect .endif ### Automatically connect sink and source if JACK server is present .ifexists module-jackdbus-detect.so .nofail #load-module module-jackdbus-detect .fail .endif ### Automatically load driver modules for Bluetooth hardware .ifexists module-bluetooth-discover.so #load-module module-bluetooth-discover .endif ### Load several protocols .ifexists module-esound-protocol-unix.so load-module module-esound-protocol-unix .endif load-module module-native-protocol-unix ### Network access (may be configured with paprefs, so leave this commented ### here if you plan to use paprefs) #load-module module-esound-protocol-tcp #load-module module-native-protocol-tcp #load-module module-zeroconf-publish ### Load the RTP receiver module (also configured via paprefs, see above) #load-module module-rtp-recv ### Load the RTP sender module (also configured via paprefs, see above) #load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'" #load-module module-rtp-send source=rtp.monitor ### Load additional modules from GConf settings. This can be configured with the paprefs tool. ### Please keep in mind that the modules configured by paprefs might conflict with manually ### loaded modules. .ifexists module-gconf.so .nofail load-module module-gconf .fail .endif ### Automatically restore the default sink/source when changed by the user ### during runtime ### NOTE: This should be loaded as early as possible so that subsequent modules ### that look up the default sink/source get the right value load-module module-default-device-restore load-module module-tunnel-sink server=10.0.1.1 ### Automatically move streams to the default sink if the sink they are ### connected to dies, similar for sources load-module module-rescue-streams ### Make sure we always have a sink around, even if it is a null sink. load-module module-always-sink ### Honour intended role device property load-module module-intended-roles ### Automatically suspend sinks/sources that become idle for too long load-module module-suspend-on-idle ### If autoexit on idle is enabled we want to make sure we only quit ### when no local session needs us anymore. .ifexists module-console-kit.so .nofail #load-module module-console-kit .fail .endif ### Enable positioned event sounds load-module module-position-event-sounds ### Cork music streams when a phone stream is active #load-module module-cork-music-on-phone ### Modules to allow autoloading of filters (such as echo cancellation) ### on demand. module-filter-heuristics tries to determine what filters ### make sense, and module-filter-apply does the heavy-lifting of ### loading modules and rerouting streams. load-module module-filter-heuristics load-module module-filter-apply ### Load DBus protocol .ifexists module-dbus-protocol.so #load-module module-dbus-protocol .endif # X11 modules should not be started from default.pa so that one daemon # can be shared by multiple sessions. ### Load X11 bell module #load-module module-x11-bell sample=bell-windowing-system ### Register ourselves in the X11 session manager #load-module module-x11-xsmp ### Publish connection data in the X11 root window #.ifexists module-x11-publish.so #.nofail #load-module module-x11-publish #.fail #.endif ### Make some devices default #set-default-sink output #set-default-source input
┌─[vasco@vasco] - [~] - [wto sty 17, 02:19] └─[$]> sudo cat /etc/pulse/daemon.conf # This file is part of PulseAudio. # # PulseAudio is free software; you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # PulseAudio is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License # along with PulseAudio; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. ## Configuration file for the PulseAudio daemon. See pulse-daemon.conf(5) for ## more information. Default values are commented out. Use either ; or # for ## commenting. daemonize = yes ; fail = yes ; allow-module-loading = yes ; allow-exit = yes ; use-pid-file = yes ; system-instance = no ; local-server-type = user ; enable-shm = yes ; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB ; lock-memory = no ; cpu-limit = no ; high-priority = yes ; nice-level = -11 ; realtime-scheduling = yes ; realtime-priority = 5 ; exit-idle-time = 20 ; scache-idle-time = 20 ; dl-search-path = (depends on architecture) ; load-default-script-file = yes ; default-script-file = /etc/pulse/default.pa ; log-target = auto ; log-level = notice ; log-meta = no ; log-time = no ; log-backtrace = 0 resample-method=speex-float-0 ; resample-method = speex-float-3 ; enable-remixing = yes ; enable-lfe-remixing = no flat-volumes = no ; rlimit-fsize = -1 ; rlimit-data = -1 ; rlimit-stack = -1 ; rlimit-core = -1 ; rlimit-as = -1 ; rlimit-rss = -1 ; rlimit-nproc = -1 ; rlimit-nofile = 256 ; rlimit-memlock = -1 ; rlimit-locks = -1 ; rlimit-sigpending = -1 ; rlimit-msgqueue = -1 ; rlimit-nice = 31 ; rlimit-rtprio = 9 ; rlimit-rttime = 1000000 default-sample-format = s16le default-sample-rate = 48000 ; default-sample-channels = 2 ; default-channel-map = front-left,front-right default-fragments = 4 default-fragment-size-msec = 5 ; enable-deferred-volume = yes ; deferred-volume-safety-margin-usec = 8000 ; deferred-volume-extra-delay-usec = 0
Z góry dziękuje za zainteresowanie się tematem jak i wszelką pomoc.
Pozdrawiam.
Ostatnio edytowany przez vascom (2012-01-17 14:29:17)
Offline
Nie wiem jak mocno jesteś związany z PulseAudio, ale ja stawiam, że to jak zwykle ono świruje i ALSA będzie lepszym wyborem... (Resztę w tym temacie dorzucą mocniejsi ode mnie ;) )
Offline
W sumie mnie to obojętne czy to będzie ALSA, Pulseaudio czy jeszcze inne cudo. Zależy mi tylko by wysłać cały dźwięk z laptopa na stacjonarkę :)
Offline
Nigdy czegos takiego nie robiłem więc nie potrafię jednoznacznie odpowiedzieć.
Wydaje mi się ,ze pewnie MPD da radę.
https://wiki.archlinux.org/index.php/Music_Player_Daemon
Offline
Z tego co wyczytałem to owszem MPD potrafi wysłać dźwięk ale na stronę a stacjonarka nie posiada x`ow bo one tam są totalnie zbędne. Druga sprawa nie rozumiem jak MPD miałoby wyłapać cały dźwięk z laptopa ?
Wracając do Pulseaudio, zmieniając nice np. na 10 "tunelowanie" dźwięku przeżywa nawet do minut po czym wywala się dokładnie tak samo jak jest opisane powyżej. Już sam nie wiem co mu przeszkadza i w ogóle gdzie szukać winy na stacjonarce czy na laptopie :/ Zastanawiam się nad zmianą wersji może to coś pomoże ?
Edit:
Po wpisaniu reguły do potrzymania połączenia w iptables wszystko działa nawet 2 min potem wysyp:/ Nie dość że to nie pomaga to jeszcze pulseaudio przy każdym połączeniu wybiera sobie inny port :/
Ostatnio edytowany przez vascom (2012-01-18 02:23:03)
Offline
A próbowałeś innych możliwości? NAS na przykład? Ja znając problemy PA z samym sobą raczej trzymałbym się od niego z daleka...
A "cały dźwięk z laptopa" to "całkowicie całkiem cały dźwięk z laptopa" (łącznie z mikrofonami, wejściami liniowymi itp) czy może przypadkiem "wszystko z PCM"?
Offline
Dokładnie cały dźwięk, mikrofonu jak i wejścia liniowego nie używam więc obojętne. Później będę miał więcej czasu to poszukam o tym NAS.
Edit:
Ehh co to jest to NAS? jak tego szukać w google bo nie wiele znalazłem na ten temat.
Ostatnio edytowany przez vascom (2012-01-18 20:18:58)
Offline
Jak najbardziej da się - wykonywałem. Tylko nie chciało mi się czytac dokumentacji więc wyklikałem z tego konfiguratora GUI i działało.
thomsson napisał(-a):
Nie wiem jak mocno jesteś związany z PulseAudio, ale ja stawiam, że to jak zwykle ono świruje i ALSA będzie lepszym wyborem... (Resztę w tym temacie dorzucą mocniejsi ode mnie ;) )
Weź może zacznij myśleć. Jak chcesz przepchnąć coś co zostało zaprojektowane jako lokalna usługa.
Offline
Kolego qluk masz może gdzieś pliki konfiguracyjne? Wiem pisałeś że wykonywałeś ale może Ci gdzieś zostały :)
Co do GUI nie chce instalować x'ow bo naprawdę są tam zbędne aczkolwiek zastanawiam się czy by nie wcisnąć awesoma bo zaczyna mnie to drażnić.
Offline
vascom napisał(-a):
Ehh co to jest to NAS? jak tego szukać w google bo nie wiele znalazłem na ten temat.
Network Audio System - http://radscan.com/nas.html
Offline
vascom napisał(-a):
Kolego qluk masz może gdzieś pliki konfiguracyjne? Wiem pisałeś że wykonywałeś ale może Ci gdzieś zostały :)
Co do GUI nie chce instalować x'ow bo naprawdę są tam zbędne aczkolwiek zastanawiam się czy by nie wcisnąć awesoma bo zaczyna mnie to drażnić.
Raczej nie, ale mozesz wygenerowac pliki konfiguracyjne np uzywajac VirtualBox'a plus ubuntu livecd.
Offline
Hehe trochę to trwało ale w końcu wszystko działa jedyne co mnie maxymalnie drażni to to ze jak odpalę pavucontrol to automatycznie mój komp zaczyna ścierwic w sieci a wysył z mojego kompa wzrasta z 1,6Mbit/s do prawie 5 :/
Co ciekawe jak przełączę się na wi-fi to tego problemu nie ma.
Offline