Jump to content

maninofu

  • Posts

    11
  • Joined

  • Last visited

  • Country

    Japan

Retained

  • Member Title
    Newbie
  1. I will temporarily publish the shairport to my github. https://github.com/maninov/shairport24bit.git
  2. soxr's bug fixed.. 16to24.patch.txt $ cd shairport_sync $ patch -p0 < 16to24.patch.txt ... after read "README.md"
  3. hi. this shairport-sync patch file is supported specified soxr option, and supported 24bit or 32bit DAC. 16to24.patch.txt
  4. hi tim I brought the source(git clone shairport...) with git and then changed the code to analyze it and output 32 bits. 16to32-2.patch.txt
  5. hi i get shairport_sync source code, and rewrite s16le -> s32le. now, success a 32bit sound of airplay on my raspberrypi3. but, not supported soxr(configure not specified -soxr). --- configure of shairport-sync --- ./configure --sysconfdir=/etc --with-alsa --with-avahi --with-ssl=openssl --with-metadata --with-systemd 16to32.patch.txt
  6. After all, the two processes conflicted (mpd and play) ,therefore returned to the original.Again, the best solution is to selectively choose the output bit rate of shairport-sync.
  7. sorry.. latest code mistake, too.. written my sample code. $cmd = '/usr/local/bin/shairport-sync -a "' . $_SESSION['airplayname'] . '" -o stdout -w -B /var/www/command/spspre.sh -E /var/www/command/spspost.sh ' . $metadata . '-- -c "' . $mixername . '" 2>/dev/null | /usr/bin/play -t s2 -c 2 -r 44.1k - -r 192k -b 24 >/dev/null 2>&1 &';
  8. mistake.. sox option. correnctly:: $cmd = '/usr/local/bin/shairport-sync -o stdout -a "' . $_SESSION['airplayname'] . '" -w -B /var/www/command/spspre.sh -E /var/www/command/spspost.sh ' . $metadata . '-- -c "' . $mixername . '" 2>/tmp/shair-err | /usr/bin/sox -t cdda - -b 32 -t wav - | /usr/bin/aplay >/tmp/shair2-err 2>&1 &';
  9. thx, tim reply about airplay's 32bit-DAC problem. As a solution, i did install "sox", and rewrited "/var/www/inc/playerlib.php". rewrited line:: $cmd = '/usr/local/bin/shairport-sync -o stdout -a "' . $_SESSION['airplayname'] . '" -w -B /var/www/command/spspre.sh -E /var/www/command/spspost.sh ' . $metadata . '-- -c "' . $mixername . '" 2>/tmp/shair-err | /usr/bin/sox - -b 32 -t wav - | /usr/bin/aplay >/tmp/shair2-err 2>&1 &'; but,,,,,,,,, occured "aplay: playback:2715: read error" at /tmp/shair2-err >< i think that, if output of shairport-sync is always at 32bit, this solved..
  10. hi tim. i have rasp3 + i2s(9018k2m's DAC board). pi@olive:~ $ uname -a [h=3]Linux olive 4.4.30-sc1+ #1 SMP PREEMPT Mon Nov 7 11:06:01 CET 2016 armv7l GNU/Linux[/h] when useing airplay, if value of "advdriver"(key of sqlite) is "rpi-dac" then ok, but value of "advdriver" is "hifiberry-dac,384k" or "simple-es9023-audio,384k(settings simple-bclk-64fs)" then it can out only right-channel. perhaps, when useing airplay, cannot resampling. please tell me if there is a solution.
×
×
  • Create New...