Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 16 12311 ... LastLast
Results 1 to 10 of 153
  1. #1
    Senior Member ralphy's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    1,794

    SqueezePlay for Windows with DirectSound and MME device support.

    I've built a windows version of SqueezePlay with DirectSound and MME audio device support and the ability to select the output device and set the maximum sample rate.

    7.8.0.r959 - 20170418
    7.8.0.r951 - 20170308

    See the commit history for changes.

    ASIO, WASAPI and WDMKS support have been removed as they hang audio playback after the first sample rate change on win7+.

    To restore ASIO, WASAPI and WDMKS support in squeezeplay after installation replace portaudio.dll in the C:\Program Files\SqueezePlay folder with the one from squeezelite-1.8.6-945-win32.zip

    The squeezelite-1.8.6-945-win32.zip file on sourceforge includes the aac decoder dll and supports all windows audio hostapis. If started with a different mac address using the -m option, can be controlled with squeezeplay or my Jivelite for Windows build in the Jivelite->windows folder. See the readme in said folder for installation details.

    Squeezelite can also be setup as a windows service see this how to thread for details.

    Tested with WinXP, and Windows 7 32/64-bit using both device driver types.

    Installation? Just run SqueezePlay-setup-7.8.0r959.exe from the above link.

    If Squeezeplay won't connect to the server see this thread.
    If Squeezeplay is unable to open your default sound device can cause the connection to server to fail as well. Try setting the USEPADEVICE environment variable to a known free audio device, see the instructions below. For systems without a sound card, install the trial version of Virtual Audio Cable.

    There are several User Environment Variables used to provide the ability to select the output device (USEPADEVICE), maximum sample rate (USEPAMAXSAMPLERATE), audio device driver (USEPAHOSTAPI), driver latency (USEPALATENCY) and mac address assignment (UTMAC).

    UTMAC allows you to change the MAC address of Squeezeplay so you can use it as a controller for squeezelite running on the same system. UTMAC is only effective the 1st time you run Squeezeplay. For any further changes to the MAC address you need, stop Squeezeplay, delete the userpath settings folder and then restart and reconfigure Squeezeplay.

    My userpath Squeezeplay settings on WinXP are in C:\Documents and Settings\Ralphy\Application Data\SqueezePlay\ and for Win7 C:\Users\Ralphy\AppData\Roaming\SqueezePlay\

    Squeezeplay uses the highest latency value reported by the device driver. This can be changed by setting USEPALATENCY. If you set the latency too low SqueezePlay will "stutter" during playback or even stop working altogether. The default would need to be changed if playing audio streams above 96000Hz sample rate. Try starting with a value of 200 and increase until the stuttering stops.

    To obtain the list of available output devices that can be used for the USEPADEVICE key you can download squeezelite-1.8.6-945-win32.zip, extract the zip file and run squeezelite-win with the -l option. If you do not set USEPADEVICE squeezeplay uses the default windows audio device.



    The set of square backets after the device name can be used in USEPAHOSTAPI Do not add any square backets to the hostapi.. The device name in the middle can be used to set USEPADEVICE. ie. For the Speakers Windows WDM-KS device USEPADEVICE would be 'Speakers (Realtek HD Audio output)' Do not add any quotes around the names.

    If you have more than one sound card with the same description you can narrow the search to a specific audio device type by setting USEPAHOSTAPI.

    If squeezeplay will not connect to LMS you most likely have the USEPADEVICE and/or USEPAHOSTAPI environment variables set incorrectly.

    SqueezePlay should now determine the correct maximum sample rate for the audio device. You can override it by setting USEPAMAXSAMPLERATE.
    If you set the value higher than your hardware supports SqueezePlay may crash. Any value higher than 384000 is reset to 384000.

    I've tested 96000 and 192000. Setting a sample rate higher than 96000 requires LMS 7.8.0 or newer.



    SqueezePlay only checks the environment variables at startup. If you change one you must quit and restart.

    Source code is available on github.

    Builds are available on sourceforge
    Attached Files Attached Files
    Last edited by ralphy; 2017-04-22 at 05:15. Reason: Released 7.8.0.r959. Apr 18/17
    Ralphy

    1-Touch, 5-Classics, 3-Booms, 1-UE Radio
    Squeezebox client builds donations always appreciated.

  2. #2
    Senior Member
    Join Date
    Dec 2011
    Posts
    699
    thanks, shall give it a go.

  3. #3
    Senior Member sbp's Avatar
    Join Date
    Apr 2010
    Location
    Denmark
    Posts
    1,087
    Thank you very much.

    It is working fine on windows 7.

    I have noticed that you recently have build many different versions of SqueezePlay, so I was wondering if you are planning to make an ARM build as well?

    The reason for my asking is, that I have bought a Raspberry board, and I will try to use it as a dedicated player using SqueezePlay. I have better success with synchronizing if I use SqueezPlay as compared with SquuezeSlave, because the latter needs to transcode some of my radio streams to 44100, which is not needed if I use SqueezePlay.
    This experience is on windows and Debian computers, I haven't tried on the Raspberry board yet (mainly because I have been unable to run fin a SqueezPlay that can be used on this board)
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://sites.google.com/site/picoreplayer/home

    Please donate if you like the piCorePlayer

  4. #4
    Senior Member ralphy's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    1,794
    Quote Originally Posted by sbp View Post
    I have noticed that you recently have build many different versions of SqueezePlay, so I was wondering if you are planning to make an ARM build as well?
    No, I have no plans at the moment. Mainly because I don't do cross compiling, it's always been problematic for me and I don't own an RPI. My main reason to creating these builds was to make SqueezePlay run on my Solaris SPARC Sun Ray devices. There is a build of SqueezePlay for RPI but apparently there are still issues with the hardware SDL implementation. The Linux ALSA version does not need any of my modifications as it uses alsa-lib to query the hardware for the max sample rate and you can easily change the default ALSA device using .asoundrc or modifying the usersettings files created by squeezeplay.
    Ralphy

    1-Touch, 5-Classics, 3-Booms, 1-UE Radio
    Squeezebox client builds donations always appreciated.

  5. #5
    Senior Member
    Join Date
    Dec 2007
    Location
    Boston area (NE USA)
    Posts
    662
    Is this Squeezeplay or Squeezeslave?
    Just wondering, as the screen cap shows squeezeslave (which I've been happily using with ASIO for quite some while now TYVM)

  6. #6
    Senior Member
    Join Date
    Jul 2005
    Posts
    302
    Quote Originally Posted by bobkoure View Post
    Is this Squeezeplay or Squeezeslave?
    Just wondering, as the screen cap shows squeezeslave (which I've been happily using with ASIO for quite some while now TYVM)
    It is SqueezePlay. The post clearly explains why the SqueezeSlave cap is there.

  7. #7
    Senior Member
    Join Date
    Dec 2007
    Location
    Boston area (NE USA)
    Posts
    662
    SqueezePLAY it is. Sorry for my confusion.

  8. #8
    Senior Member
    Join Date
    Jun 2012
    Posts
    211
    Hi Ralphy

    Any chance of a build of Squeezeplay for RaspberryPi? I'm happily running your build of squeezeslave on the Pi - it's running great, but I'd love to give Squeezeplay a try.

    Ta

    pete S

  9. #9
    Senior Member sbp's Avatar
    Join Date
    Apr 2010
    Location
    Denmark
    Posts
    1,087
    Quote Originally Posted by psketch View Post
    Hi Ralphy
    Any chance of a build of Squeezeplay for RaspberryPi? I'm happily running your build of squeezeslave on the Pi - it's running great, but I'd love to give Squeezeplay a try.
    Hi psketch

    If you read a few responses above (post no 4) in this tread, you will see that Ralphy already answered this question - and there is no plan at the moment for an ARM version of SqueezePlay.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://sites.google.com/site/picoreplayer/home

    Please donate if you like the piCorePlayer

  10. #10
    Senior Member
    Join Date
    Jun 2012
    Posts
    211
    Quote Originally Posted by sbp View Post
    Hi psketch

    If you read a few responses above (post no 4) in this tread, you will see that Ralphy already answered this question - and there is no plan at the moment for an ARM version of SqueezePlay.
    Doh - Sorry - don't know how I missed that - apologies for the dumb post. Shame though .....

Tags for this Thread

Posting Permissions

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