Discussion:
How to start ISDN programming
(too old to reply)
KaoZ
2005-10-30 16:46:51 UTC
Permalink
Hello,

I want to write an application for Linux which can call somebody and
then starts playing an audio file. I think I can use CAPI to realize
this but don't know where to start. Maybe anynone here can help me.

Thanks a lot
KaoZ
Michael Hampicke
2005-10-30 18:10:29 UTC
Permalink
Post by KaoZ
Hello,
I want to write an application for Linux which can call somebody and
then starts playing an audio file. I think I can use CAPI to realize
this but don't know where to start. Maybe anynone here can help me.
Thanks a lot
KaoZ
The best way to start is to download the capi specs and start reading it
* www.capi.org

To see how other programmers have solved playing their games with the
capi, you can download the source code of varios linux capi applications
and study the code. for ex. there is capi-utils or isdn4k-utils.

And another good thing is to buy a book about capi programming.


Regards

Michael Hampicke
Angus Comber
2005-12-29 21:17:18 UTC
Permalink
Are you aware of any CAPI books? On Amazon I only found one book written in
German? I think.

Angus
Post by Michael Hampicke
Post by KaoZ
Hello,
I want to write an application for Linux which can call somebody and
then starts playing an audio file. I think I can use CAPI to realize
this but don't know where to start. Maybe anynone here can help me.
Thanks a lot
KaoZ
The best way to start is to download the capi specs and start reading it
* www.capi.org
To see how other programmers have solved playing their games with the
capi, you can download the source code of varios linux capi applications
and study the code. for ex. there is capi-utils or isdn4k-utils.
And another good thing is to buy a book about capi programming.
Regards
Michael Hampicke
Michael Hampicke
2005-12-30 15:17:10 UTC
Permalink
Post by Angus Comber
Are you aware of any CAPI books? On Amazon I only found one book written in
German? I think.
Angus
I'm afraid not, it seems that you are right, i also found only one book
about capi programming, but that seems to be no very good.

As a german, i can translate you the german amazon recessions on the
book. To safe me time, i only translate the headline.

< from:
http://www.amazon.de/exec/obidos/ASIN/392454445X/qid=1135955349/sr=2-1/ref=sr_2_9_1/028-2603094-3672514
Völlig nutzlos, reine Geldverschwendung, 3. Juni 2000 (One Star of five)
-> Very useless, just a wast of money

obsolet, redundant, irrelevant, überteuert, 15. April 1999 (One Star of
five)
-> obsolete, m irrelevant, redundant, high priced


Have a nice day

Michael Hampicke

Bernd Spari
2005-10-31 11:12:08 UTC
Permalink
Post by KaoZ
I want to write an application for Linux which can call
somebody and then starts playing an audio file.
Developing a capi application from scratch is very difficult so i would use
one of the various capi software development kits,
e.g. ftp://ftp.avm.de/develper/capi-adk .

You have to connect in transparent protocol mode,
i.e. B1=1 B2=1 B3=0. You need your audio data in A-Law format with 8 kHz
sampling rate. There is a audio conversion tool named sox wich can be used
to convert your data. Probably you have to swap your bytes to network
ordering.

Bernd Spari
Continue reading on narkive:
Loading...