[vdr] softhddevice and alsa dmixer
I would use the same xbmc softhddevice time . It works with the command: svdrsend PLUG softhdevice ATTA But I have a problem with the sound output. Softhddevice only supports ALSA therefore no possibility of using PULSEAUDIO . I would like to share my SPDIF between XBMC and Softhddevice . I run vdr with the following command line : vdr -P'sofhddevice -v vdpau -v -a plughw : 0,1 ' My .asoundrc file : pcm.dmixer { type dmix ipc_key 2048 slave { pcm hw:0,1 # Always use pure hw. dmix will reformat/resample audio. period_size 512 # If you get stuttering/or non-working audio, fiddle around with these buffer_size 4096 rate 48000 # HDMI, I'll assume 48kHz format S16_LE # Should be default for pretty much any soundcard. } bindings { 0 0 1 1 } } pcm.!default { type plug slave.pcm dmixer } My aplay -l output : Liste des Périphériques Matériels PLAYBACK carte 0: NVidia [HDA NVidia], périphérique 0: ALC1200 Analog [ALC1200 Analog] Sous-périphériques: 1/1 Sous-périphérique #0: subdevice #0 carte 0: NVidia [HDA NVidia], périphérique 1: ALC1200 Digital [ALC1200 Digital] Sous-périphériques: 1/1 Sous-périphérique #0: subdevice #0 carte 0: NVidia [HDA NVidia], périphérique 3: HDMI 0 [HDMI 0] Sous-périphériques: 1/1 Sous-périphérique #0: subdevice #0 The options are tested: XBMC SPDIF solfthddevice with -a plughw : 0.1 = XBMC OK, VDR no sound XBMC Default , solfthddevice with -a plughw : 0,1 = XBMC no sound, VDR OK XBMC Default ; solfthddevice with -a dmix = XBMC no sound, VDR OK The only solution that works is : XBMC SPDIF solfthddevice with -a plughw : 0,3 (HDMI) : OK XBMC , VDR OK but the HDMI sound on my TV is bad, this is why I like to have everything on the SPDIF. Senufo ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] softhddevice and alsa dmixer
Hi, Am 13.02.2014 17:01, schrieb Poubelle: I would use the same xbmc softhddevice time . It works with the command: svdrsend PLUG softhdevice ATTA But I have a problem with the sound output. Softhddevice only supports ALSA therefore no possibility of using PULSEAUDIO . I would like to share my SPDIF between XBMC and Softhddevice . I run vdr with the following command line : vdr -P'sofhddevice -v vdpau -v -a plughw : 0,1 ' You can use the pulse-ALSA-module for connecting softhddevice to pulseaudio with -a pulse or an .asoundrc with pcm.pulse { type pulse } ctl.pulse { type pulse } Regards, Lars. My .asoundrc file : pcm.dmixer { type dmix ipc_key 2048 slave { pcm hw:0,1 # Always use pure hw. dmix will reformat/resample audio. period_size 512 # If you get stuttering/or non-working audio, fiddle around with these buffer_size 4096 rate 48000 # HDMI, I'll assume 48kHz format S16_LE # Should be default for pretty much any soundcard. } bindings { 0 0 1 1 } } pcm.!default { type plug slave.pcm dmixer } My aplay -l output : Liste des Périphériques Matériels PLAYBACK carte 0: NVidia [HDA NVidia], périphérique 0: ALC1200 Analog [ALC1200 Analog] Sous-périphériques: 1/1 Sous-périphérique #0: subdevice #0 carte 0: NVidia [HDA NVidia], périphérique 1: ALC1200 Digital [ALC1200 Digital] Sous-périphériques: 1/1 Sous-périphérique #0: subdevice #0 carte 0: NVidia [HDA NVidia], périphérique 3: HDMI 0 [HDMI 0] Sous-périphériques: 1/1 Sous-périphérique #0: subdevice #0 The options are tested: XBMC SPDIF solfthddevice with -a plughw : 0.1 = XBMC OK, VDR no sound XBMC Default , solfthddevice with -a plughw : 0,1 = XBMC no sound, VDR OK XBMC Default ; solfthddevice with -a dmix = XBMC no sound, VDR OK The only solution that works is : XBMC SPDIF solfthddevice with -a plughw : 0,3 (HDMI) : OK XBMC , VDR OK but the HDMI sound on my TV is bad, this is why I like to have everything on the SPDIF. Senufo ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
[vdr] mp3 plugin for vdr-2.1.4
Hi, When compiling the mp3 plugin, I get this error: --8---cut here---start-8--- *** Plugin mp3: WARNING: plugin mp3 is using an old Makefile! g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -D_GNU_SOURCE -DAPIVERSNUM=20104 -DHAVE_SNDFILE -DHAVE_VORBISFILE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/vdr/soft/vdr-2.1.4/include decoder.c decoder.c: In member function ‘bool cFileInfo::FileInfo(bool)’: decoder.c:224:76: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘__fsblkcnt64_t {aka long unsigned int}’ [-Wformat] decoder.c:224:76: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘__fsfilcnt64_t {aka long unsigned int}’ [-Wformat] decoder.c: In member function ‘char* cInfoCache::CacheFile()’: decoder.c:635:36: error: ‘VideoDirectory’ was not declared in this scope decoder.c:636:1: warning: control reaches end of non-void function [-Wreturn-type] make[1]: *** [decoder.o] Error 1 --8---cut here---end---8--- Could anybody help please to make the plugin work with the latest vdr version? Thanks in advance, -- Peter ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr