Firstly, thanks for the continued efforts in maintaining squeezeslave.

I've just upgraded to 0.9 and can no longer play FLAC files. MP3 is
fine. My current work-around is to enforce bitrate limiting to force an
MP3 transcode on the server, but that rather defeats the object of
having FLAC files in the first place!

The windows binary download works fine. But on Linux (gentoo) it seg
faults. I'm running linux26-alsa. I've tried with and without the
display support, no difference.

I've also tried a new MAC address (and using the same mac that worked
on the windows version - just in case!).

The debug output is:
> 
> shed jive # ~/squeeze/squeezeslave/squeezeslave/bin/squeezeslave-alsa 
> -m 00:00:00:10:10:20 -d slimaudio_output -d slimaudio_output_v -d
> slimaudio_decoder -d slimaudio_decoder_v   shed
> slimaudio_output_init: PortAudio initialized
> decoder_thread: STREAM_STOPPED first_time:1
> paDeviceInfo->maxOutputChannels 2
> paDeviceInfo->defaultHighOutputLatency 0
> paDeviceInfo->defaultLowhOutputLatency 0
> paDeviceInfo->defaultSampleRate 44100.000000
> Mixer: /dev/mixer1
> Mixer: /dev/mixer
> Mixer explicitly disabled.
> Px_mixer = (nil)
> output_thread STOPPED: 0
> output_thread PAUSED: 0
> slimaudio_output_disconnect: state=7
> audg cmd: left_gain:3584 right_gain:3584 volume:-0.054688
> old_left_gain:46 old_right_gain:46 vol_adjust:0.054688
> replay_gain:-1.000000 start_replay_gain:1.000000 preamp:255
> digital_volume_control:1
> slimaudio_decoder_connect
> slimaudio_output_connect: state=7
> audg cmd: left_gain:3584 right_gain:3584 volume:0.054688
> old_left_gain:46 old_right_gain:46 vol_adjust:0.054688
> replay_gain:1.000000 start_replay_gain:1.000000 preamp:255
> digital_volume_control:1
> audg cmd: left_gain:3584 right_gain:3584 volume:0.054688
> old_left_gain:46 old_right_gain:46 vol_adjust:0.054688
> replay_gain:1.000000 start_replay_gain:1.000000 preamp:255
> digital_volume_control:1
> output_thread BUFFERING: 0
> decoder_thread: STREAM_PLAYING type f
> slimaudio_decoder_flac_process: start
> flac_read_callback state=3
> flac channels:        2
> flac sample_rate:     44100
> flac bits_per_sample: 16
> Segmentation fault
> 

Adding some extra debug lines myself, it appears to crash on the
following line of slimaudio_decoder_flac.c:

Code:
--------------------
    
  FLAC__bool b = 
FLAC__stream_decoder_process_until_end_of_stream(audio->flac_decoder);
  
--------------------


I'm very much outside my knowledge in FLAC API's, and google is being
less than helpful!

I'm thinking its an incompatibility with my libFLAC, but v1.2.1 seems
normal?

Any suggestions?


-- 
f948lan
------------------------------------------------------------------------
f948lan's Profile: http://forums.slimdevices.com/member.php?userid=3961
View this thread: http://forums.slimdevices.com/showthread.php?t=63966

_______________________________________________
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss

Reply via email to