On Fri, Mar 6, 2009 at 7:28 AM, David Guibert <david.guib...@gmail.com> wrote: > This patch introduces the mixer for the pulse output. > > Technically speaking, the pulse index is needed to get or set > the volume. You must define callback fonctions to get this index since > the pulse output in mpd is done using the simpe api. The pulse simple api > does not provide the index of the newly defined output. > > So callback fonctions are associated to the pulse context. > The list of all the sink input is then retreived. > Then we select the name of the mpd pulse output and control > its volume by its associated index number. >
Doesn't work here yet. ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --enable-aac --enable-alsa --disable-ao --enable-audiofile --enable-bzip2 --enable-curl --enable-iso9660 --disable-debug --enable-documentation --disable-fifo --enable-ffmpeg --enable-flac --disable-id3 --enable-ipv6 --disable-jack --enable-modplug --enable-lastfm --enable-mms --disable-lsr --disable-mp3 --enable-mod --disable-mpc --disable-oggflac --disable-oss --disable-pipe-output --enable-pulse --disable-sidplay --enable-un --enable-oggvorbis --disable-wavpack --enable-wildmidi --enable-zip --with-zeroconf=avahi --disable-shout_ogg --disable-shout_mp3 --build=x86_64-pc-linux-gnu x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./src -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/ -I/usr/incl ude/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include -pthread -D_REENTRANT -I/usr/include/libmodplug -I/usr/include/alsa -D_FILE_OFFSET_BI TS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -Wextra -Wno-deprecated-declarations -Wmissing-prototypes -Wdeclaration-after-statement -Wshadow -Wpoin ter-arith -Wstrict-prototypes -Wcast-qual -Wwrite-strings -pedantic -D_GNU_SOURCE -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/i nclude -D_REENTRANT -march=native -O2 -pipe -g -MT src_mpd-audio_parser.o -MD -MP -MF .deps/src_mpd-audio_parser.Tpo -c -o src_mpd-audio_parser.o `test -f ' src/audio_parser.c' || echo './'`src/audio_parser.c src/mixer/pulse_mixer.c: In function 'pulse_mixer_init': src/mixer/pulse_mixer.c:165: error: incompatible types in assignment src/mixer/pulse_mixer.c:173: error: incompatible types in assignment src/mixer/pulse_mixer.c:183: error: incompatible types in assignment src/mixer/pulse_mixer.c:191: error: incompatible types in assignment src/mixer/pulse_mixer.c:199: error: incompatible types in assignment src/mixer/pulse_mixer.c: At top level: src/mixer/pulse_mixer.c:283: warning: initialization from incompatible pointer type make[1]: *** [src_mpd-pulse_mixer.o] Error 1 -- avuton -- | (\_/) This is Bunny. Copy and paste Bunny | (='.'=) into your signature to help him gain | (")_(") world domination. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Musicpd-dev-team mailing list Musicpd-dev-team@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team