Also mein Systemlog sieht so aus (s.u.), und madplay funktioniert. Vielleicht ist deine No-name-Soundkarte nicht in Ordnung, oder sie hat nicht die notwendigen Sample-Raten? Es könnte z.B. sein dass deine Sounds z.B. 44.100 kHz haben, aber die Soundkarte unterstützt nur 48.000 kHz
und hier die Ausgabe von madplay (Ton kommt raus!):Code:Feb 16 12:06:18 kernel: usb.c: registered new driver audio Feb 16 12:06:18 kernel: usbaudio: device 2 audiocontrol interface 0 has 1 input and 1 output AudioStreaming interfaces Feb 16 12:06:18 kernel: usbaudio: device 2 interface 2 altsetting 1 channels 2 framesize 2 configured Feb 16 12:06:18 kernel: usbaudio: valid input sample rate 48000 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 2 altsetting 1: format 0x01000010 sratelo 48000 sratehi 48000 attributes 0x00 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 2 altsetting 2 channels 1 framesize 2 configured Feb 16 12:06:18 kernel: usbaudio: valid input sample rate 48000 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 2 altsetting 2: format 0x00000010 sratelo 48000 sratehi 48000 attributes 0x00 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 2 altsetting 3 channels 2 framesize 2 configured Feb 16 12:06:18 kernel: usbaudio: valid input sample rate 44100 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 2 altsetting 3: format 0x01000010 sratelo 44100 sratehi 44100 attributes 0x00 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 2 altsetting 4 channels 1 framesize 2 configured Feb 16 12:06:18 kernel: usbaudio: valid input sample rate 44100 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 2 altsetting 4: format 0x00000010 sratelo 44100 sratehi 44100 attributes 0x00 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 2 altsetting 5 channels 2 framesize 2 configured Feb 16 12:06:18 kernel: usbaudio: valid input sample rate 32000 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 2 altsetting 5: format 0x01000010 sratelo 32000 sratehi 32000 attributes 0x00 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 2 altsetting 6 channels 1 framesize 2 configured Feb 16 12:06:18 kernel: usbaudio: valid input sample rate 32000 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 2 altsetting 6: format 0x00000010 sratelo 32000 sratehi 32000 attributes 0x00 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 2 altsetting 7 channels 2 framesize 2 configured Feb 16 12:06:18 kernel: usbaudio: valid input sample rate 22050 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 2 altsetting 7: format 0x01000010 sratelo 22050 sratehi 22050 attributes 0x00 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 2 altsetting 8 channels 1 framesize 2 configured Feb 16 12:06:18 kernel: usbaudio: valid input sample rate 22050 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 2 altsetting 8: format 0x00000010 sratelo 22050 sratehi 22050 attributes 0x00 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 2 altsetting 9 channels 2 framesize 2 configured Feb 16 12:06:18 kernel: usbaudio: valid input sample rate 16000 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 2 altsetting 9: format 0x01000010 sratelo 16000 sratehi 16000 attributes 0x00 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 2 altsetting 10 channels 1 framesize 2 configured Feb 16 12:06:18 kernel: usbaudio: valid input sample rate 16000 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 2 altsetting 10: format 0x00000010 sratelo 16000 sratehi 16000 attributes 0x00 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 2 altsetting 11 channels 2 framesize 1 configured Feb 16 12:06:18 kernel: usbaudio: valid input sample rate 16000 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 2 altsetting 11: format 0x01000040 sratelo 16000 sratehi 16000 attributes 0x00 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 2 altsetting 12 channels 1 framesize 1 configured Feb 16 12:06:18 kernel: usbaudio: valid input sample rate 16000 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 2 altsetting 12: format 0x00000040 sratelo 16000 sratehi 16000 attributes 0x00 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 2 altsetting 13 channels 2 framesize 1 configured Feb 16 12:06:18 kernel: usbaudio: valid input sample rate 8000 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 2 altsetting 13: format 0x01000040 sratelo 8000 sratehi 8000 attributes 0x00 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 2 altsetting 14 channels 1 framesize 1 configured Feb 16 12:06:18 kernel: usbaudio: valid input sample rate 8000 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 2 altsetting 14: format 0x00000040 sratelo 8000 sratehi 8000 attributes 0x00 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 2 altsetting 15 channels 2 framesize 2 configured Feb 16 12:06:18 kernel: usbaudio: valid input sample rate 11025 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 2 altsetting 15: format 0x01000010 sratelo 11025 sratehi 11025 attributes 0x00 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 2 altsetting 16 channels 1 framesize 2 configured Feb 16 12:06:18 kernel: usbaudio: valid input sample rate 11025 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 2 altsetting 16: format 0x00000010 sratelo 11025 sratehi 11025 attributes 0x00 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 2 altsetting 17 channels 2 framesize 1 configured Feb 16 12:06:18 kernel: usbaudio: valid input sample rate 11025 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 2 altsetting 17: format 0x01000040 sratelo 11025 sratehi 11025 attributes 0x00 Feb 16 12:06:18 kernel: o: device 2 interface 2 altsetting 18 channels 1 framesize 1 configured Feb 16 12:06:18 kernel: usbaudio: valid input sample rate 11025 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 2 altsetting 18: format 0x00000040 sratelo 11025 sratehi 11025 attributes 0x00 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 1 altsetting 0 does not have an endpoint Feb 16 12:06:18 kernel: usbaudio: device 2 interface 1 altsetting 1 channels 2 framesize 2 configured Feb 16 12:06:18 kernel: usbaudio: valid output sample rate 32000 Feb 16 12:06:18 kernel: usbaudio: valid output sample rate 48000 Feb 16 12:06:18 kernel: usbaudio: valid output sample rate 44100 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 1 altsetting 1: format 0x01000010 sratelo 32000 sratehi 48000 attributes 0x00 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 1 altsetting 2 channels 1 framesize 2 configured Feb 16 12:06:18 kernel: usbaudio: valid output sample rate 32000 Feb 16 12:06:18 kernel: usbaudio: valid output sample rate 48000 Feb 16 12:06:18 kernel: usbaudio: valid output sample rate 44100 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 1 altsetting 2: format 0x00000010 sratelo 32000 sratehi 48000 attributes 0x00 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 1 altsetting 3 channels 2 framesize 1 configured Feb 16 12:06:18 kernel: usbaudio: valid output sample rate 32000 Feb 16 12:06:18 kernel: usbaudio: valid output sample rate 48000 Feb 16 12:06:18 kernel: usbaudio: valid output sample rate 44100 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 1 altsetting 3: format 0x01000040 sratelo 32000 sratehi 48000 attributes 0x00 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 1 altsetting 4 channels 1 framesize 1 configured Feb 16 12:06:18 kernel: usbaudio: valid output sample rate 32000 Feb 16 12:06:18 kernel: usbaudio: valid output sample rate 48000 Feb 16 12:06:18 kernel: usbaudio: valid output sample rate 44100 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 1 altsetting 4: format 0x00000040 sratelo 32000 sratehi 48000 attributes 0x00 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 1 altsetting 5 channels 2 framesize 1 configured Feb 16 12:06:18 kernel: usbaudio: valid output sample rate 32000 Feb 16 12:06:18 kernel: usbaudio: valid output sample rate 48000 Feb 16 12:06:18 kernel: usbaudio: valid output sample rate 44100 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 1 altsetting 5: format 0x01000008 sratelo 32000 sratehi 48000 attributes 0x00 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 1 altsetting 6 channels 1 framesize 1 configured Feb 16 12:06:18 kernel: usbaudio: valid output sample rate 32000 Feb 16 12:06:18 kernel: usbaudio: valid output sample rate 48000 Feb 16 12:06:18 kernel: usbaudio: valid output sample rate 44100 Feb 16 12:06:18 kernel: usbaudio: device 2 interface 1 altsetting 6: format 0x00000008 sratelo 32000 sratehi 48000 attributes 0x00 Feb 16 12:06:18 kernel: usbaudio: registered dsp 14,3 Feb 16 12:06:18 kernel: usbaudio: registered mixer 14,0 Feb 16 12:06:18 kernel: usbaudio: no mixer controls found for Terminal 5 Feb 16 12:06:18 kernel: audio.c: v1.0.0:USB Audio Class driver
Code:madplay /opt/etc/mp3/Test.mp3 MPEG Audio Decoder 0.15.2 (beta) - Copyright (C) 2000-2004 Robert Leslie et al. error: frame 0: lost synchronization 124 frames decoded (0:00:03.2), -5.2 dB peak amplitude, 0 clipped samples


(nur:MPEG Audio Decoder 0.15.2 (beta) - Copyright (C) 2000-2004 Robert Leslie et al. als ausgabe) kann mir also sparen weiter am phpsound-Script zu arbeiten.
Reply With Quote
wenns wirklich an dem stick liegt kann ich ja noch mal ein kauf risikieren.
also wohl kacke soundkarte.
