I've created an OSX i386 and x86_64 only build with the ability to
select the output device and set the maximum sample rate.

It is based on the 7.8 branch Jul 17, 2012 git check in which I've
exported back to subversion as I really dislike git.

The 'OSX intel port'
(http://squeezeslave.googlecode.com/files/SqueezePlay-7.8.0r142.dmg) has
been tested with 10.6 and 10.7.  Mountain Lion has not been tested as I
don't have a Mac running it.

This version plays 24/96 wave and flac files natively using the latest
LMS 7.8.0 nightly.  The maximum sample rate can be set as high as 192000
in the USEPAMAXSAMPLERATE key, see below, but I haven't tested it, any
value higher defaults to 192000.

Installation?

Mount the SqueezePlay-7.8.0r142.dmg disk image file and drag the
SqueezePlay.app icon to Applications.

How do I change the output device and/or maximum sample rate?

Create a file called environment.plist in your home directory in the
.MacOSX folder.  You may need to create the .MacOSX folder.  So the full
path to my file is

/Users/ralphy/.MacOSX/environment.plist


Code:
--------------------
    
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" 
"http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
  <plist version="1.0">
  <dict>
  <key>USEPADEVICE</key>
  <string>Sennheiser USB Headset</string>
  <key>USEPAMAXSAMPLERATE</key>
  <string>96000</string>
  </dict>
  </plist>
  
--------------------


To obtain the list of available output devices that can be used for the
USEPADEVICE key you can download 'squeezeslave for OSX'
(http://squeezeslave.googlecode.com/files/squeezeslave-1.2-376-osx.tar.gz),
extract the tar file and run squeezeslave with the -L option.


Code:
--------------------
    $ ./squeezeslave-1.2-376 -L
  Output devices:
  * 1: (Core Audio) Built-in Output (2/12)
  2: (Core Audio) Sennheiser USB Headset (2/13)
--------------------


You can see how I obtained the exact match for my Headset.

Once you've finished editing the environment.plist file you MUST logout
and log back in before the keys will be available to SqueezePlay.  You
can check if the values have been set from the Terminal App.


Code:
--------------------
    $ set | grep -i usepa
  USEPADEVICE='Sennheiser USB Headset'
  USEPAMAXSAMPLERATE=96000
--------------------


Hopefully this works for the Mountain Lion folks to override the new
AirPlay default output devices.


------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=96328

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/discuss

Reply via email to