JackOfAll wrote: > Triode, > > Just switched back to sync upsampling (removing the X from the -u flags) > that I've been running for the last 24 hours..... > > > Code: -------------------- > > > [19:07:49.101057] resample_init:301 resampling sync recipe: 0x36, flags: 0x00, scale: 0.84, precision: 0.0, passband_end: 0.00000, stopband_begin: 0.00000, phase_response: -1.0 > [19:07:49.131605] codec_open:204 codec open: 'f' > [19:07:49.131727] stream_file:316 opening local file: /storage/music/lossless/Judas_Priest/Stained_Glass/03_-_Better_by_You__Better_Than_Me.flac > [19:07:50.200210] write_cb:106 setting track_start > [19:07:50.200324] resample_newstream:151 resampling from 44100 -> 352800 > [19:07:50.200372] resample_newstream:172 resampling with soxr_quality_spec_t[precision: 28.0, passband_end: 0.911510, stopband_begin: 1.000000, phase_response: 0.0, flags: 0x00], soxr_io_spec_t[scale: 0.84] > [19:07:50.232062] process_newstream:123 processing: active > [19:07:50.232153] process_newstream:144 creating process buf in frames: 12800 > [19:07:50.232222] process_newstream:151 creating process buf out frames: 5008 > [19:07:50.232497] resample_samples:79 should not get here - partial sox process: 626 of 4096 processed 0 of 5008 out > [19:07:50.236762] resample_samples:79 should not get here - partial sox process: 626 of 4096 processed 5008 of 5008 out > -------------------- > > > > Not looked at the code yet. Not sure why "process buf out frames: > 5008". Seems small. "process buf out frames: 122601" when I was using > X "async" flag
That's wrong - we should not be creating a smaller output buffer than input for upsampling.... I will look at... Glad I left the warning in flagging cases not covered! ------------------------------------------------------------------------ Triode's Profile: http://forums.slimdevices.com/member.php?userid=17 View this thread: http://forums.slimdevices.com/showthread.php?t=98544 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
