Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

darkice on freebsd with oss installation

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Source Clients
View previous topic :: View next topic  
Author Message
bbk



Joined: 15 Oct 2005
Posts: 79

PostPosted: Fri Nov 09, 2007 12:46 pm    Post subject: darkice on freebsd with oss installation Reply with quote

hello

i try to install/configure darkice on my fresh pcbsd.org (freebsd 6.2) installation to create a nice source-computer.

but i don't get it right, because i don't know enough about the whole sound-architecture.

as far i have following configuration:

pcbsd (os)
oss (sound-architecture)

darkice should work with oss, but what device do i have to use?

when i use /dev/dsp it can't open, what seems normal to me because oss uses it.

i looked into the /dev and saw there is /dev/oss/trident0 which is my soundcard driver but when i try to use this there is this message:
Quote:

Using OSS DSP input device: /dev/oss
Using POSIX real-time scheduling, priority 30
DarkIce: OssDspSource.cpp:202: can't set format [16]


i have this in my config:

Quote:
[input]
#device = /dev/dsp # OSS DSP soundcard device for the audio input
device = /dev/oss # 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


has someone an idea?
_________________
::bbk::

http://audioasyl.net
Back to top
View user's profile Send private message Visit poster's website
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Nov 09, 2007 1:10 pm    Post subject: Reply with quote

the /dev/dsp referenced is a common reference but an installation does not require the device to be called that. I can't help much with darkice but you could try using a 48khz samplerate.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bbk



Joined: 15 Oct 2005
Posts: 79

PostPosted: Fri Nov 09, 2007 1:32 pm    Post subject: Reply with quote

ok.

i just found this post:

http://lists.xiph.org/pipermail/icecast/2002-December/003848.html

maybe my device is reserved... hmm.

i tried to stop oss, but it's still not working.

i tried with 48khz but it didn't work out.

also i tried with the following:

Quote:

#device = /dev/dsp # OSS DSP soundcard device for the audio input
device = /dev/oss/trident0 # OSS DSP soundcard device for the audio input
sampleRate = 44100 # sample rate in Hz. try 11025, 22050 or 44100
bitsPerSample = 8 # bits per sample. try 16
channel = 2 # channels. 1 = mono, 2 = stereo


then i have this:

Quote:

DarkIce: OssDspSource.cpp:202: can't set format [8]


hmm.. how could i get my card configured that it is not reserved?

i already tried with jack but .. no this crashes my whole system... yes.

maybe i go to a linux installation which runs on an other desktop correctly

there i use oddsockv3 and jack.....
_________________
::bbk::

http://audioasyl.net
Back to top
View user's profile Send private message Visit poster's website
bbk



Joined: 15 Oct 2005
Posts: 79

PostPosted: Sat Nov 10, 2007 10:33 am    Post subject: maybe on time Reply with quote

..maybe one time i will be able to get the sound running well and streaming from a *bsd system....

but for now i went back to linux, with oddcastv3.

greetz and thank's for your time Smile
_________________
::bbk::

http://audioasyl.net
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Source Clients All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber