GStreamerã®ALSAåºåã«ãããPCMããã¤ã¹åãæå®ãã
[ãã¼ã ãã£ã¬ã¯ããª]/.asoundrcã§å®ç¾©ãããpcm.[åå]ãã¨ããPCMããã¤ã¹ãGStreamerã®ALSAåºåãã©ã°ã¤ã³(ã¨ã¬ã¡ã³ãåãalsasinkã)ã§ä½¿ç¨ããããã«ã¯ãalsasinkã¨ã¬ã¡ã³ãã¸ã®å¼æ°(ããããã£)ã¨ãã¦ãdevice=[ããã¤ã¹å]ããæå®ããå¿ è¦ãããããã®æ å ±ã¯ã
$ gst-inspect-0.10 alsasink
ã§ç¢ºèªã§ãããããã©ã«ãã§ã¯ãALSAã®ããã©ã«ãããã¤ã¹åãdefaultãã使ç¨ãããã¨ãåããã
gst-launchã«ããå®é¨
ãpcm.ladspaãã¨ããPCMããã¤ã¹(åè:ãALSAでLADSPAプラグインを使用するã)ãæå®ããå ´åãæå®ã®ãããã¨ãã¦ã¯
$ gst-launch-0.10 filesrc location=sample_44_2_16.tta ! ttaparse ! ttadec ! alsasink device=ladspa
ã®ããã«è¡ãã
GStreamerã使ç¨ããã¢ããªã±ã¼ã·ã§ã³ã®ããã®è¨å®
gnome-mediaããã±ã¼ã¸*1ã«å«ã¾ããgstreamer-propertiesã§è¨å®ãã§ããã®ã ããããã ãã§ã¯è¨å®ã§ããªãé¨åãããã
$ gconf-editor /system/gstreamer/0.10/default/audiosink
ããã§ãã¼ã/system/gstreamer/0.10/default/audiosinkããé¸æãããç¶æ ã§gconf-editorãèµ·åããããã®é層ã«ã¯
- audiosink
- chataudiosink
- musicaudiosink
ã¨ããªã¼ãã£ãªåºåã¨ã¬ã¡ã³ãã®è¨å®é ç®ãè¤æ°ããããããã®å¤ã
alsasink device=ladspa
ãªã©ã®ããã«ç·¨éããã°ããã
åä½ç¢ºèªãRhythmboxã¨totemã§è¡ã£ãã
使ç¨ãããã¼ã¸ã§ã³:
- gstreamer 0.10.11
- gnome-media 2.16.1
- gconf-editor 2.16.0
- totem 2.16.5
- Rhythmbox 0.10.0
*1:Gentoo Linux, Debian, Ubuntuã§å ±éã®ããã±ã¼ã¸å