Home of the Squeezebox™ & Transporter® network music players.
Page 7 of 8 FirstFirst ... 5678 LastLast
Results 61 to 70 of 71
  1. #61
    Quote Originally Posted by giulio View Post
    I think you should start a new threat dedicated to slimpy.
    Thanks for you words, but as you already found out, it is of pre-alpha quality, so not ready for its own thread. If I find some more time, I will rewrite some portion of the code to use locks, I guess some of the buffering issues will then also go away.

  2. #62
    Senior Member
    Join Date
    Nov 2010
    Location
    Hertfordshire, UK
    Posts
    515
    Quote Originally Posted by lauret View Post
    I solved the sound problem in SqueezePlay by disabling pulseaudio while squeezeplay runs. The following works for me on Ubuntu 11.10.

    I first copied /usr/share/alsa/alsa.conf to /usr/share/alsa/alsa-nopulse.conf, so that is reads:
    Code:
    sudo cp /usr/share/alsa/alsa.conf /usr/share/alsa/alsa-nopulse.conf
    Then I commented the line with "/usr/share/alsa/pulse.conf" (line 11) in alsa-nopulse.conf:
    Code:
    # "/usr/share/alsa/pulse.conf"
    Then there is a squeezeplay.sh script in the bin directory of squeezeplay which you can use to start squeezeplay. Edit the last line so it reads:
    Code:
    ALSA_CONFIG_PATH=/usr/share/alsa/alsa-nopulse.conf ./jive
    I also edited the file ~/.squeezeplay/userpath/settings/DesktopJive.lua as described in http://forums.slimdevices.com/showpo...48&postcount=3 to select the right audio device. I had to choose another device for the alsaEffectsDevice because it claims the output device and then alsaPlaybackDevice can't use it anymore. I have (I replaced the mac and uuid with x's):
    Code:
    settings = {mac="xx:xx:xx:xx:xx:xx",uuid="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",alsaSampleSize=24,alsaPlaybackDevice="plughw:0,0",alsaEffectsDevice="plughw:0,1"}
    The server now also transcodes 352.8kHz flacs correctly to 176.4Hz!
    Thanks a lot. I put some rather frustrated musings on another thread (at http://forums.slimdevices.com/showth...481#post691481) before I found this. I now at least have some output via Squeezeplay.
    LMS 7.8 on VortexBox Midi, FLACs 16 or 24 bit. Touch on Ethernet (in another room), digital out to a Musical Fidelity M1 CLiC. Old wireless laptop running Linux Mint Debian controls server using Chromium. Squeezelite on Ubuntu & Windows desktops plus the laptop. Meridian Explorer USB DAC to listen directly to Vortexbox & other PCs as required. Spare Touch in loft!

  3. #63
    Senior Member
    Join Date
    Nov 2010
    Location
    Hertfordshire, UK
    Posts
    515
    Quote Originally Posted by PasTim View Post
    Thanks a lot. I put some rather frustrated musings on another thread (at http://forums.slimdevices.com/showth...481#post691481) before I found this. I now at least have some output via Squeezeplay.
    I spoke too soon.

    It seems that every reboot, linux decides to re-order my card numbers randomly (2 audio cards and a USB headset). To make it work I have to edit the da**ned DesktopJive.lua file every bl**dy time.

    I am sure there a mod to alsa.conf that would fix this, if I can find the mental energy to find out what it might be, try several variations and test each one.
    LMS 7.8 on VortexBox Midi, FLACs 16 or 24 bit. Touch on Ethernet (in another room), digital out to a Musical Fidelity M1 CLiC. Old wireless laptop running Linux Mint Debian controls server using Chromium. Squeezelite on Ubuntu & Windows desktops plus the laptop. Meridian Explorer USB DAC to listen directly to Vortexbox & other PCs as required. Spare Touch in loft!

  4. #64
    Quote Originally Posted by PasTim View Post
    I spoke too soon.

    It seems that every reboot, linux decides to re-order my card numbers randomly (2 audio cards and a USB headset). To make it work I have to edit the da**ned DesktopJive.lua file every bl**dy time.

    I am sure there a mod to alsa.conf that would fix this, if I can find the mental energy to find out what it might be, try several variations and test each one.
    You should use the texual representation of your audio devices. Use `aplay -L` to see them. I have for instance `hw:CARD=PCH,DEV=0` for my analog onboard output.

  5. #65
    Senior Member
    Join Date
    Nov 2010
    Location
    Hertfordshire, UK
    Posts
    515
    Quote Originally Posted by lauret View Post
    You should use the texual representation of your audio devices. Use `aplay -L` to see them. I have for instance `hw:CARD=PCH,DEV=0` for my analog onboard output.
    Thanks a lot. I spent considerable time trying to understand the alsa wiki instructions on fixing the configuration, and made little progress. I had to use 'plughw' instead of 'hw', and don't really understand why, but it works, that's the main thing
    LMS 7.8 on VortexBox Midi, FLACs 16 or 24 bit. Touch on Ethernet (in another room), digital out to a Musical Fidelity M1 CLiC. Old wireless laptop running Linux Mint Debian controls server using Chromium. Squeezelite on Ubuntu & Windows desktops plus the laptop. Meridian Explorer USB DAC to listen directly to Vortexbox & other PCs as required. Spare Touch in loft!

  6. #66
    Junior Member
    Join Date
    Jan 2012
    Posts
    8
    Quote Originally Posted by PasTim View Post
    I had to use 'plughw' instead of 'hw', and don't really understand why, but it works, that's the main thing
    That is also my experience. I have never been able to use squeezeplay with interface hw.

    If somebody has a different experience and can chime in, I would really appreciate it.

    giulio

  7. #67
    Sorry for the confusion, I also had to use the plughw. I just copied a random entry from `aplay -L` for illutration purposes.

  8. #68
    Junior Member
    Join Date
    Jan 2011
    Posts
    10

    use of plughw vs hw

    I also struggled through the ALSA documentation to find something that works.
    I understand that 'hw' requires exclusive use of the soundcard. It fails if anything else is already using it. 'plughw' is a software interface that can share the card with other apps, or the sounds from your desktop which may already be using it. Hope this helps clear up this part of the mystery!

  9. #69
    Quote Originally Posted by brjhaverkamp View Post
    I tried squeezeslave(squeezeslave-ubuntu-1.1-305)
    while it plays music, which is a big plus, I miss the graphics.
    Also I wasn't able to put it in the background. It crashed when I tried several times. Anyone with better results?

    I worked a bit more on squeezeplay. I started from scratch from svn 7.7 rev 9561), after all the things I tried I lost track of the changes I made.
    I only need to make two changes to get squeezeplay compiled:
    1)the change to mmx.h to get past the moveq errors
    2)the change to configure.in to get past all unused parameter errors with gcc 4.6
    I added the diffs below.
    I think the flac errors can be solved by installing libflac++-dev (ubuntu naming) but I need confirmation from someone here.
    I'm still stumped by the sound part. I installed the latest portaudio library (rev 1788), but that didn't help. the portaudio test program patest1 gives an error. Don't know if that is a lead though. other tests produce sound and seem ok.

    Regards,

    Bert


    Index: src/SDL-1.2.13/src/video/mmx.h
    ================================================== =================
    --- src/SDL-1.2.13/src/video/mmx.h (revision 9561)
    +++ src/SDL-1.2.13/src/video/mmx.h (working copy)
    @@ -355,7 +355,7 @@

    #define mmx_r2m(op, reg, mem) \
    __asm__ __volatile__ (#op " %%" #reg ", %0" \
    - : "=X" (mem) \
    + : "=m" (mem) \
    : /* nothing */ )

    #define mmx_r2r(op, regs, regd) \

    Index: src/squeezeplay/configure.in
    ================================================== =================
    --- src/squeezeplay/configure.in (revision 9561)
    +++ src/squeezeplay/configure.in (working copy)
    @@ -168,7 +168,7 @@
    dnl Be pedantic when compiling
    if test x"$GCC" = x"yes"
    then
    - CFLAGS="$CFLAGS -Wall -Wextra -Werror -Wdeclaration-after-statement -Wpo
    inter-arith -Wcast-align -Wno-unused-parameter -Wno-unused-function"
    + CFLAGS="$CFLAGS -Wall -Wextra -Wdeclaration-after-statement -Wpointer-ar
    ith -Wcast-align -Wno-unused-parameter -Wno-unused-function"
    fi

    CFLAGS="$CFLAGS -DSQUEEZEPLAY"


    This is very helpful, thank you! I pulled the source from svn a few days ago and I have 9704 (I think).

    The above patches get me much farther along in the compile process than I had been getting, but I am still stuck.

    http://sprunge.us/TQVN

    This is Fedora 17 x86_64

    Any ideas? I am good for copy/paste and that is about it.

  10. #70
    Senior Member
    Join Date
    Nov 2010
    Location
    Hertfordshire, UK
    Posts
    515
    Quote Originally Posted by skibler View Post
    This is very helpful, thank you! I pulled the source from svn a few days ago and I have 9704 (I think).

    The above patches get me much farther along in the compile process than I had been getting, but I am still stuck.

    http://sprunge.us/TQVN

    This is Fedora 17 x86_64

    Any ideas? I am good for copy/paste and that is about it.
    Have you tried the build at http://forums.slimdevices.com/showth...ays-up-to-192k ? Worked for me.
    LMS 7.8 on VortexBox Midi, FLACs 16 or 24 bit. Touch on Ethernet (in another room), digital out to a Musical Fidelity M1 CLiC. Old wireless laptop running Linux Mint Debian controls server using Chromium. Squeezelite on Ubuntu & Windows desktops plus the laptop. Meridian Explorer USB DAC to listen directly to Vortexbox & other PCs as required. Spare Touch in loft!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •