Comments (13)
also the softfloat version show these symptoms...
Original comment by [email protected]
on 25 Dec 2012 at 1:07
from squeezelite.
Can you post the output of starting with "-d output=debug" added to the command
line?
Original comment by [email protected]
on 25 Dec 2012 at 6:44
from squeezelite.
[20:58:10.013683] output_init:932 init output
[20:58:10.015371] output_init:935 outputbuf size: 3528000
[20:58:10.056916] output_init:954 output: front:CARD=CODEC,DEV=0 maxrate: 48000
[20:58:10.057689] output_init:966 unable to set output sched fifo: Operation
not permitted
[20:58:10.067826] output_thread:326 open output device: front:CARD=CODEC,DEV=0
[20:58:10.072777] alsa_open:221 opened device front:CARD=CODEC,DEV=0 using
format: S16_LE sample rate: 44100
[20:58:10.073320] alsa_open:265 buffer time: 20045 period count: 4 buffer size:
884 period size: 221
[20:58:16.591905] output_thread:490 track start sample rate: 48000 replay_gain:
0
[20:58:16.592203] output_thread:326 open output device: front:CARD=CODEC,DEV=0
[20:58:16.607738] alsa_open:221 opened device front:CARD=CODEC,DEV=0 using
format: S16_LE sample rate: 48000
[20:58:16.608199] alsa_open:265 buffer time: 20000 period count: 4 buffer size:
960 period size: 240
Original comment by [email protected]
on 25 Dec 2012 at 8:59
from squeezelite.
previous comment was from me and noone else...
Original comment by [email protected]
on 25 Dec 2012 at 9:02
from squeezelite.
does 44100 work on this setting - the problem is only with 48000 sample rates?
what happens if you use -o plughw:CARD=CODEC
Original comment by [email protected]
on 25 Dec 2012 at 9:11
from squeezelite.
[20:58:10.013683] output_init:932 init output
[20:58:10.015371] output_init:935 outputbuf size: 3528000
[20:58:10.056916] output_init:954 output: front:CARD=CODEC,DEV=0 maxrate: 48000
[20:58:10.057689] output_init:966 unable to set output sched fifo: Operation
not permitted
[20:58:10.067826] output_thread:326 open output device: front:CARD=CODEC,DEV=0
[20:58:10.072777] alsa_open:221 opened device front:CARD=CODEC,DEV=0 using
format: S16_LE sample rate: 44100
[20:58:10.073320] alsa_open:265 buffer time: 20045 period count: 4 buffer size:
884 period size: 221
[20:58:16.591905] output_thread:490 track start sample rate: 48000 replay_gain:
0
[20:58:16.592203] output_thread:326 open output device: front:CARD=CODEC,DEV=0
[20:58:16.607738] alsa_open:221 opened device front:CARD=CODEC,DEV=0 using
format: S16_LE sample rate: 48000
[20:58:16.608199] alsa_open:265 buffer time: 20000 period count: 4 buffer size:
960 period size: 240
[21:24:22.849863] output_init:932 init output
[21:24:22.851649] output_init:935 outputbuf size: 3528000
[21:24:22.893660] output_init:954 output: front:CARD=CODEC,DEV=0 maxrate: 48000
[21:24:22.894386] output_init:966 unable to set output sched fifo: Operation
not permitted
[21:24:22.897820] output_thread:326 open output device: front:CARD=CODEC,DEV=0
[21:24:22.904759] alsa_open:221 opened device front:CARD=CODEC,DEV=0 using forma
t: S16_LE sample rate: 44100
[21:24:22.905349] alsa_open:265 buffer time: 20045 period count: 4 buffer size:
884 period size: 221
[21:36:20.511430] output_init:932 init output
[21:36:20.513025] output_init:935 outputbuf size: 3528000
[21:36:20.530157] output_init:954 output: plughw:CARD=CODEC maxrate: 192000
[21:36:20.530808] output_init:966 unable to set output sched fifo: Operation not
permitted
[21:36:20.537775] output_thread:326 open output device: plughw:CARD=CODEC
[21:36:20.545850] alsa_open:221 opened device plughw:CARD=CODEC using format: S3
2_LE sample rate: 44100
[21:36:20.552045] alsa_open:265 buffer time: 20045 period count: 4 buffer size:
884 period size: 221
[21:36:31.678050] output_thread:490 track start sample rate: 48000 replay_gain:
0
[21:36:31.678363] output_thread:326 open output device: plughw:CARD=CODEC
[21:36:31.684931] alsa_open:221 opened device plughw:CARD=CODEC using format:
S32_LE sample rate: 48000
[21:36:31.687254] alsa_open:265 buffer time: 20000 period count: 4 buffer size:
960 period size: 240
[21:37:11.172729] output_thread:490 track start sample rate: 48000 replay_gain:
0
[21:38:13.033843] output_init:932 init output
[21:38:13.035629] output_init:935 outputbuf size: 3528000
[21:38:13.051593] output_init:954 output: plughw:CARD=CODEC maxrate: 192000
[21:38:13.052301] output_init:966 unable to set output sched fifo: Operation
not permitted
[21:38:13.057783] output_thread:326 open output device: plughw:CARD=CODEC
[21:38:13.067392] alsa_open:221 opened device plughw:CARD=CODEC using format:
S32_LE sample rate: 44100
[21:38:13.072627] alsa_open:265 buffer time: 20045 period count: 4 buffer size:
884 period size: 221
[21:38:23.593683] output_thread:490 track start sample rate: 48000 replay_gain:
0
[21:38:23.594000] output_thread:326 open output device: plughw:CARD=CODEC
[21:38:23.600917] alsa_open:221 opened device plughw:CARD=CODEC using format:
S32_LE sample rate: 48000
[21:38:23.603058] alsa_open:265 buffer time: 20000 period count: 4 buffer size:
960 period size: 240
...... still distorted signal
Original comment by [email protected]
on 25 Dec 2012 at 9:41
from squeezelite.
i am truly sorry for disturbing the christmas celebrations (if you celebrate
that of course...)
Original comment by [email protected]
on 25 Dec 2012 at 9:50
from squeezelite.
Hum - does the dac work with squeezelite on the other machine ok using
hw:CARD=CODEC?
Does it work ok on the default pi output device? I wonder if this is related
to the pi usb problems - 48000 needs higher data rate than 44100 but not by
much. Can you playback other 48000 material on the pi ok?
As a workaround you could compile your own squeezelite which forces the max
sample rate to 44100 which would cause the server to resample. Happy to
provide more details if this is something you want to try...
Original comment by [email protected]
on 25 Dec 2012 at 9:53
from squeezelite.
ok i think that you definitely is onto something here. I have not had the time
to move the DAC to the other machine yet (i'll do that when i have the time),
but:
Playing the material through the default output device of the pi yields good
audio also at 48000. I have been trying to read through the available material
on the USB problems of the pi. Is it this one you are referring to ?
https://github.com/raspberrypi/firmware/issues/19
thanks for caring despite this being a busy time of the year
Original comment by [email protected]
on 26 Dec 2012 at 8:32
from squeezelite.
Yes you have linked to the pi issues - it doesn't work at any frequency without
breakup with my dac - a usb async 1.1 device. Some people have success setting
the usb port to usb full speed only. I think you will find the config
somewhere on here: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=23544
Original comment by [email protected]
on 26 Dec 2012 at 9:50
from squeezelite.
Can you confirm if this issue is still a problem. There are still well know
issues with Pi and many usb dacs, but some work ok. I want to make sure we
separate these issues from squeezelite issues.
Some dacs have been reported as working using the new -a ::16: option to force
16 bit output from squeezelite.
Original comment by [email protected]
on 16 Jan 2013 at 10:58
from squeezelite.
have not tried that yet, but the problem persists with the latest and greatest
version. Setting dwc_otg.speed=1 in /boot/cmdline does however do the trick for
me, yielding good sound, i will investigate the "-a ::16:" variant as well.
Original comment by [email protected]
on 19 Jan 2013 at 10:12
from squeezelite.
If changing the usb bus speed resolves, then this is a Pi/usb issue and not an
issue with squeezelite. Some people have seen the -a ::16: option improve this
- I believe it is due to reducing the bandwidth required as its using 16 not 24
bits.
However will close this issue as it doesn't sound to be with squeezelite
itself. Please reopen or open a new one if you still see it is with
squeezelite.
Original comment by [email protected]
on 19 Jan 2013 at 10:27
- Changed state: Invalid
from squeezelite.
Related Issues (20)
- Raspberry Pi: Distorted sound in random intervals for some seconds HOT 11
- Static build forRaspberry/OpenELEC 5 possible? HOT 2
- Squeezelite sound output stops after a few hours on Armv5 Pogoplug with Arch HOT 5
- ignore some files in the tree HOT 1
- [PATCH] fedora: need ffmpeg include path HOT 2
- Does squeezelite blocks raspberrypi gpios?
- Squeezelite Win
- Build an RPM package
- Squeezelite v1.8 not working on 4 channel iec958 interface HOT 1
- patches to build on musl libc
- Build number from the main download files - 1.7 or 1.8
- Squeezelite Armv6hf will not pause when sending power 0 command through nc HOT 1
- Synced squeezelite pauses every 35 seconds HOT 1
- OS X - squeezelite asks always for firewall password
- Squeezelite disconnects from mysb.com
- Incorrect sample rate for shoutcast stations combined with resampling and pipe out = wrong playout speed HOT 1
- Core dumped
- A bug in dynamic library loading (Linux version)
- Crackle on DSD files HOT 4
- Feature Request - Power on and off on LMS to toggle GPIO pin on raspberry
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from squeezelite.