sudo darkice -c conf DarkIce 1.0 live audio streamer, http://code.google.com/p/darkice/ Copyright (c) 2000-2007, Tyrell Hungary, http://tyrell.hu/ Copyright (c) 2008-2010, Akos Maroy and Rafael Diniz This is free software, and you are welcome to redistribute it under the terms of The GNU General Public License version 3 or any later version. Using config file: Tt Using ALSA DSP input device: hw:0,0 Using POSIX real-time scheduling, priority 98 DarkIce: AlsaDspSource.cpp:159: can't set sample format [0] Here is my config # this section describes general aspects of the live streaming session [general] duration = 60 # duration of encoding, in seconds. 0 means forever bufferSecs = 5 # size of internal slip buffer, in seconds reconnect = no # reconnect to the server(s) if disconnected # this section describes the audio input that will be streamed [input] device = hw:0,0 # OSS DSP soundcard device for the audio input sampleRate = 44100 # sample rate in Hz. try 11025, 22050 or 44100 bitsPerSample = 16 # bits per sample. try 16 channel = 2 # channels. 1 = mono, 2 = stereo # this section describes a streaming connection to a ShoutCast server # there may be up to 8 of these sections, named [shoutcast-0] ... [shoutcast-7] # these can be mixed with [icecast-x] and [icecast2-x] sections [shoutcast-0] bitrateMode = vbr # variable bit rate mode quality = 0.5 # encoding quality server = place.com # host name of the server port = 8000 # source port of the ShoutCast server, usually 8001 password = password # source password to the ShoutCast server name = DarkIce trial # name of the stream url = place.com # URL related to the stream genre = my own # genre of the stream public = yes # advertise this stream? aplay -l **** List of PLAYBACK Hardware Devices **** card 0: M1010LT [M Audio Delta 1010LT], device 0: ICE1712 multi [ICE1712 multi] Subdevices: 0/1 Subdevice #0: subdevice #0 I guess it comes from this but i'm not sure why it errors if (snd_pcm_hw_params_set_format(captureHandle, hwParams, format) < 0) { snd_pcm_hw_params_free(hwParams); close(); throw Exception( __FILE__, __LINE__, "can't set sample format");