Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-10

windows and audio development

8 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

ik

Hello,

If I have raw alaw or ulaw (or other codec) of audio I get in a socket. How can i play that data in Windows ?
Please note that I haven't developed for Windows for over 7 years now, so a good tutorial or Pascal code will be very good help in this manner.

Thanks,
Ido

LINESIP websites:
http://www.linesip.com
http://www.linesip.co.il
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20101029/9ab5045c/attachment.html>

Reply by email

Michael Van Canneyt
to ik
ik wrote
Hello, If I have raw alaw or ulaw (or other codec) of audio I get in a socket. How can i play that data in Windows ? Please note that I haven't developed for Windows for over 7 years now, so a good tutorial or Pascal code will be very good help in this manner.

Using the SDL library works very well for me. It's cross platform. I'm not sure what codecs it can play, but it works for the formats I need.

Michael.

Reply by email

Reimar Grabowski
to Michael Van Canneyt
Using the SDL library works very well for me. It's cross platform. I'm not sure what codecs it can play, but it works for the formats I need.

I can say exactly the same about portaudio.

R.

A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?

Reply by email

ik
to Marco van de Voort

Thanks all,
For now it appears that the project will not take place, but it is interesting regardless of that.

Ido

LINESIP websites:
http://www.linesip.com
http://www.linesip.co.il

Marco van de Voort wrote 16 lines
On Fri, Oct 29, 2010 at 02:07:36PM +0200, ik wrote: > If I have raw alaw or ulaw (or other codec) of audio I get in a socket. How > can i play that data in Windows ? > Please note that I haven't developed for Windows for over 7 years now, so a > good tutorial or Pascal code will be very good help in this manner. The mmsystem unit iirc. THen start googling interesting functions. -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20101031/845fc9bf/attachment.html>

Reply by email

M.Ali VARDAR
to Marco van de Voort: The mmsystem unit iirc. THen start googling interesting functions.

Hello Marco,

Look at that source code

http://tothpaul.free.fr/sources.php?dprtcp.sipinside

you can see lazarus source code too for explanation about sound and pcmu pcma

Best Regards
M.Ali VARDAR

Marco van de Voort wrote 16 lines
On Fri, Oct 29, 2010 at 02:07:36PM +0200, ik wrote: > If I have raw alaw or ulaw (or other codec) of audio I get in a socket. How > can i play that data in Windows ? > Please note that I haven't developed for Windows for over 7 years now, so a > good tutorial or Pascal code will be very good help in this manner. The mmsystem unit iirc. THen start googling interesting functions. -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
-------------------- Sayg?lar?mla M.Ali VARDAR -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20101031/78c62448/attachment.html>

Reply by email

Marco van de Voort
to ik: For now it appears that the project will not take place, but it is interesting regardless…
ik wrote
Thanks all, For now it appears that the project will not take place, but it is interesting regardless of that.
Something for the archive then;

I forgot to say that the project I researched this for was finally done using these components:

http://www.lakeofsoft.com/vc/

They come with full source, and probably can be made to work with FPC/Lazarus

Reply by email

ik
to Marco van de Voort

Thanks, that interesting.

When I'll have a bit more time (now I'm working more then 110% including many of my weekends) I'll open source some things I made in the past with Lazarus and also create a decent Linux Soft phone in Lazarus :)

The original project of the soft phone will not take place at the end, so I'll just continue binding Sofia-SIP that I started and release it for all to use (LGPL) at the moment.

Ido

Marco van de Voort wrote 22 lines
On Sun, Oct 31, 2010 at 08:32:03PM +0200, ik wrote: > Thanks all, > For now it appears that the project will not take place, but it is > interesting regardless of that. Something for the archive then; I forgot to say that the project I researched this for was finally done using these components: http://www.lakeofsoft.com/vc/ They come with full source, and probably can be made to work with FPC/Lazarus -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20101102/2b57bf78/attachment.html>

Reply by email