Hello, i'am using squeezeslave "squeezeslave 1.1-253 May 1 2011 05:49:57" on debian linux (2.6.39-bpo.2-amd64). squeezeslave wont play to the hdmi-audio port (also-default). i get the error "Invalid sample rate".
What goes wrong? Many thanks for help. /etc/asound: Code: -------------------- pcm.dmixer { type dmix ipc_key 1024 ipc_key_add_uid false ipc_perm 0660 slave { pcm "hw:1,3" rate 48000 channels 2 # format S32_LE # period_time 0 # period_size 1024 # buffer_time 0 # buffer_size 4096 } } pcm.test { type plug # rate 44100 slave.pcm "dmixer" } pcm.!default { type plug slave.pcm "dmixer" } -------------------- when i try to play a 44100 wav file with aplay to the hdmi it works (i can hear the sound on the tv): Code: -------------------- aplay test_44100.wav Wiedergabe: WAVE 'test_44100.wav' : Signed 16 bit Little Endian, Rate: 44100 Hz, stereo -------------------- ./squeezeslave -L: Code: -------------------- 0: (ALSA) HDA ATI SB: ALC889A Analog (hw:0,0) (11/46) 1: (ALSA) HDA ATI SB: ALC889A Digital (hw:0,1) (11/46) 3: (ALSA) front (11/46) 4: (ALSA) surround40 (11/46) 5: (ALSA) surround41 (11/46) 6: (ALSA) surround50 (11/46) 7: (ALSA) surround51 (11/46) 8: (ALSA) surround71 (11/46) 9: (ALSA) iec958 (11/46) 10: (ALSA) spdif (11/46) 11: (ALSA) dmixer (250/250) 12: (ALSA) test (250/46) 13: (ALSA) dmix (42/42) *14: (ALSA) default (250/46) 15: (OSS) /dev/dsp (11/46) -------------------- ./squeezeslave -d all: Code: -------------------- squeezeslave/squeezeslave -d all proto_thread: state=1 proto_thread: PROTO_CLOSED cond_wait Using audio device index: 14 slimproto_connect: (127.0.0.1, 3483) proto_close: state 1 proto_close: not connected proto_thread: state=2 proto_sigpipe: MSG_NOSIGNAL proto_connect: connected to 127.0.0.1 proto_thread: state=3 proto_send: cmd=HELO len=10 http_thread state 2 decoder_thread: STREAM_STOPPED first_time:1 proto_recv: cmd=strm len=83 strm cmd s strm.replay_gain:0 start_replay_gain:1,000000 proto_stat: code=STMc decoder_buffer_size=2097152 decoder_buffer_fullness=0 rbytes_high=0 rbytes_low=0 output_buffer_size=2822400 output_buffer_fullness=0 elapsed_seconds=0 elapsed_milliseconds=0 server_timestamp=0 proto_send: cmd=STAT len=53 slimaudio_http_connect: http connect 127.0.0.1:9000 proto_sigpipe: MSG_NOSIGNAL proto_stat: code=STMe decoder_buffer_size=2097152 decoder_buffer_fullness=0 rbytes_high=0 rbytes_low=0 output_buffer_size=2822400 output_buffer_fullness=0 elapsed_seconds=0 elapsed_milliseconds=0 server_timestamp=0 proto_send: cmd=STAT len=53 slimaudio_http_connect: http request GET /stream.mp3?player=00:00:00:00:00:01 HTTP/1.0 slimaudio_http_connect: http connected hdr HTTP/1.1 200 OK Server: Logitech Media Server (7.7.0 - 33614) Connection: close Content-Type: audio/mpeg proto_stat: code=STMh decoder_buffer_size=2097152 decoder_buffer_fullness=0 rbytes_high=0 rbytes_low=0 output_buffer_size=2822400 output_buffer_fullness=0 elapsed_seconds=0 elapsed_milliseconds=0 server_timestamp=0 proto_send: cmd=STAT len=53 buffer_open: 0x81f20b0 slimaudio_http_connect: pcm_sample_size:63 '?' pcm_sample_rate:63 '?' pcm_channels:63 '?' slimaudio_http_connect: autostart_mode=1 autostart_threshold=261120 output_threshold=17640 replay_gain=1,000000 slimaudio_decoder_connect buffer_open: 0x81f2158 decoder_thread: STREAM_PLAYING type m http_thread state 3 decode_input state=3 mad: data_len:8184 remainder:0 available:0 buffer_read: 0x81f20b0 write_ptr=0xf6afe008 read_ptr=0xf6afe008 read_avail=0 reader_blocked=1 writer_blocked=0 read_count=0 len=8184 eof=0 opt=0 http_recv: audio n=8192 buffer_write 0x81f20b0 write_ptr=0xf6afe008 read_ptr=0xf6afe008 free=2097152 buffer_read_top: 0x81f20b0 write_ptr=0xf6b00008 read_ptr=0xf6afe008 read_avail=8192 reader_blocked=0 writer_blocked=0 read_count=0 len=8184 eof=0 opt=0 buffer_read_end: 0x81f20b0 write_ptr=0xf6b00008 read_ptr=0xf6b00000 read_avail=8 reader_blocked=0 writer_blocked=0 read_count=8184 len=8184 eof=0 opt=0 mad: mad_input: CONTINUE decode_output state=3 nfrequency=44100 nchannels=2 nsamples=1152 buffer_write 0x81f2158 write_ptr=0xf684c008 read_ptr=0xf684c008 free=2822400 decode_output state=3 nfrequency=44100 nchannels=2 nsamples=1152 buffer_write 0x81f2158 write_ptr=0xf684d208 read_ptr=0xf684c008 free=2817792 decode_output state=3 nfrequency=44100 nchannels=2 nsamples=1152 buffer_write 0x81f2158 write_ptr=0xf684e408 read_ptr=0xf684c008 free=2813184 decode_output state=3 nfrequency=44100 nchannels=2 nsamples=1152 buffer_write 0x81f2158 write_ptr=0xf684f608 read_ptr=0xf684c008 free=2808576 decode_output state=3 nfrequency=44100 nchannels=2 nsamples=1152 buffer_write 0x81f2158 write_ptr=0xf6850808 read_ptr=0xf684c008 free=2803968 decode_output state=3 nfrequency=44100 nchannels=2 nsamples=1152 buffer_write 0x81f2158 write_ptr=0xf6851a08 read_ptr=0xf684c008 free=2799360 decode_output state=3 nfrequency=44100 nchannels=2 nsamples=1152 buffer_write 0x81f2158 write_ptr=0xf6852c08 read_ptr=0xf684c008 free=2794752 decode_output state=3 nfrequency=44100 nchannels=2 nsamples=1152 buffer_write 0x81f2158 write_ptr=0xf6853e08 read_ptr=0xf684c008 free=2790144 decode_output state=3 nfrequency=44100 nchannels=2 nsamples=1152 buffer_write 0x81f2158 write_ptr=0xf6855008 read_ptr=0xf684c008 free=2785536 decode_output state=3 nfrequency=44100 nchannels=2 nsamples=1152 buffer_write 0x81f2158 write_ptr=0xf6856208 read_ptr=0xf684c008 free=2780928 decode_output state=3 nfrequency=44100 nchannels=2 nsamples=1152 buffer_write 0x81f2158 write_ptr=0xf6857408 read_ptr=0xf684c008 free=2776320 decode_output state=3 nfrequency=44100 nchannels=2 nsamples=1152 buffer_write 0x81f2158 write_ptr=0xf6858608 read_ptr=0xf684c008 free=2771712 decode_output state=3 nfrequency=44100 nchannels=2 nsamples=1152 buffer_write 0x81f2158 write_ptr=0xf6859808 read_ptr=0xf684c008 free=2767104 decode_input state=3 mad: data_len:8150 remainder:34 available:8 buffer_read_top: 0x81f20b0 write_ptr=0xf6b00008 read_ptr=0xf6b00000 read_avail=8 reader_blocked=0 writer_blocked=0 read_count=8184 len=8150 eof=0 opt=0 buffer_read_end: 0x81f20b0 write_ptr=0xf6b00008 read_ptr=0xf6b00008 read_avail=0 reader_blocked=0 writer_blocked=0 read_count=8192 len=8 eof=0 opt=0 mad: mad_input: CONTINUE decode_input state=3 mad: data_len:8142 remainder:42 available:0 buffer_read: 0x81f20b0 write_ptr=0xf6b00008 read_ptr=0xf6b00008 read_avail=0 reader_blocked=1 writer_blocked=0 read_count=8192 len=8142 eof=0 opt=0 output_thread: PortAudio initialized paDeviceInfo->deviceid 14 paDeviceInfo->maxOutputChannels 128 outputParameters.suggestedLatency 0,046440 paDeviceInfo->defaultHighOutputLatency 0,046440 paDeviceInfo->defaultLowOutputLatency 0,250658 paDeviceInfo->defaultSampleRate 44100,000000 Expression 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1956 Expression 'PaAlsaStreamComponent_InitialConfigure( &self->playback, outParams, self->primeBuffers, hwParamsPlayback, &realSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2634 Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2755 output_thread: PortAudio error1: Invalid sample rate -------------------- -- Fabius ------------------------------------------------------------------------ Fabius's Profile: http://forums.slimdevices.com/member.php?userid=34898 View this thread: http://forums.slimdevices.com/showthread.php?t=83362 _______________________________________________ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss