JackOfAll wrote:
> What makes you say that?
22050 is not in the supported sample rate list.
JackOfAll wrote:
> Anyway, try "-u E". The 'E' flag, to '-u' means resample by exception.
> ie. only resample when it is not possible to play at the native rate.
Code:
--------------------
[15:52:43.922659] mad_decode:242 setting track_start
[15:52:43.923905] resample_newstream:180 resampling from 22050 -> 44100
[15:52:43.925073] resample_newstream:201 resampling with
soxr_quality_spec_t[precision: 20.0, passband_end: 0.913628, stopband_begin:
1.000000, phase_response: 50.0, flags: 0x00], soxr_io_spec_t[scale: 0.89]
[15:52:43.927979] process_newstream:123 processing: active
[15:52:43.930090] mad_decode:271 gapless: skipping 529 frames at start
[15:52:43.991560] _output_frames:59 start buffer frames: 18260
[15:52:43.991878] _output_frames:144 track start sample rate: 44100
replay_gain: 0
[15:52:44.002122] output_thread:465 open output device:
sysdefault:CARD=sndrpiwsp
[15:52:44.008688] alsa_open:234 opened device sysdefault:CARD=sndrpiwsp using
format: S32_LE sample rate: 44100 mmap: 1
[15:52:44.010043] alsa_open:313 buffer: 40 period: 4 -> buffer size: 1764
period size: 441
--------------------
That does the trick, without using a sledgehammer to crack a nut. CPU
doesn't seem to go above 40% for the upsample from 22050 to 44100.
Thanks.
------------------------------------------------------------------------
badboygolf16v's Profile: http://forums.slimdevices.com/member.php?userid=19486
View this thread: http://forums.slimdevices.com/showthread.php?t=97046
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix