Sign in Join

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

Mailing lists / lazarus / 2002-10

Lazarus Linux sound support

7 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Tony Maro

Back about a month ago I was asking about sound support for Linux and was pointed towards libsndfile. Turned out that libsndfile had a new version out and the headers are completely different.

Someone - I don't remember who - said that he was going to try and convert the headers for the new version.

Any progress?

I just finished check printing support for CheckBook Tracker and am working on split transactions and category management, but I'd like to go ahead and add sound support. It just doesn't feel right without that satisfying "click" when you enter a new transaction. I've looked at the C headers, but I just can't read that stuff...

Thanks,

Tony

Reply by email

Andrew Johnson
Show quoted text 15 lines
Back about a month ago I was asking about sound support for Linux and was pointed towards libsndfile. Turned out that libsndfile had a new version out and the headers are completely different. Someone - I don't remember who - said that he was going to try and convert the headers for the new version. Any progress? I just finished check printing support for CheckBook Tracker and am working on split transactions and category management, but I'd like to go ahead and add sound support. It just doesn't feel right without that satisfying "click" when you enter a new transaction. I've looked at the C headers, but I just can't read that stuff...

I can't "read" it because C is inherently unreadable ;), but I can usually decipher it..

I have translated the libesd sound header(esd.h) if you want to try that instead(esd is is Esound, the library used by GNOME for sound). they should work with at least >=2.23, and probably earlier though I have not had a chance to test. And if you look at the libsnd header, it looks like they did almost a straight port using h2pas, aka minimal work, maybe just a little cleanup to make it more pascal like. So while I do not know what the version problem is, it would be easy to make an updated version, if I had copy of both the new and old version for reference.

I would suggest however you try libesd first, as it is very easy to use, and means you are not limited to using the sound system directly, and it works on more platforms than Lazarus. Yes it means another dependency for your program, but you can always
put your sound support into a dynamically linked dll, thus allowing you to gracefully continue without sound, even if the dll fails to load.

Andrew

_________________________________________________________________ Broadband?�Dial-up? Get reliable MSN Internet Access. http://resourcecenter.msn.com/access/plans/default.asp

Reply by email

Tony Maro

To clarify, my mail server at work is on a 10.X address and the only way to get to it is through outlook web access, Microsloth's web interface for exchange servers.

I do use Evolution both at work and at home, I just can't get the work mail while at home...

Earlier message 24 lines
-----Original Message----- From: Andrew Johnson Sent: Sat 10/19/2002 9:56 PM To: Cc: Subject: Re: [lazarus] Lazarus Linux sound support Tony Maro wrote: > -----Original Message----- > > >From: Marco van de Voort > >There is some trailing garbadge on your msgs lately. Caught a virus? > > > Sorry - I'm on the list from my work account and on weekends I use > Outlook Web Access to get my mail. I'm sure that's why. I hate > Microsloth. > Have you tried Evolution or Mozilla mail instead? I still haven't got the hang of it all yet, but things are starting to work okay for me.( I can't get evolution to send properly via smtp yet, but mozilla will..) <<winmail.dat>>

Reply by email

Andrew Johnson
to Tony Maro: -----Original Message----- Sorry - I'm on the list from my work account and on weekends I…
Tony Maro wrote 10 lines
-----Original Message----- >From: Marco van de Voort >There is some trailing garbadge on your msgs lately. Caught a virus? Sorry - I'm on the list from my work account and on weekends I use Outlook Web Access to get my mail. I'm sure that's why. I hate Microsloth.

Have you tried Evolution or Mozilla mail instead? I still haven't got the hang of it all yet, but things are starting to work okay for me.( I can't get evolution to send properly via smtp yet, but mozilla will..)

Andrew

Reply by email

Tony Maro

-----Original Message-----

From: Marco van de Voort There is some trailing garbadge on your msgs lately. Caught a virus?

Sorry - I'm on the list from my work account and on weekends I use Outlook Web Access to get my mail. I'm sure that's why. I hate Microsloth.

<<winmail.dat>>

Reply by email

Tony Maro

I'll agree about C - that's my problem too! ;-)

I'll give the libesd a shot. Thanks!

BTW The version problem is that sndfile changed the parameters for the very basic play functions completely (requires an extra one) - and apparently some constants as well - between versions.

Thanks,
Tony

Earlier message 25 lines
-----Original Message----- From: Andrew Johnson Sent: Sat 10/19/2002 9:27 AM I can't "read" it because C is inherently unreadable ;), but I can usually decipher it.. I have translated the libesd sound header(esd.h) if you want to try that instead(esd is is Esound, the library used by GNOME for sound). they should work with at least >=2.23, and probably earlier though I have not had a chance to test. And if you look at the libsnd header, it looks like they did almost a straight port using h2pas, aka minimal work, maybe just a little cleanup to make it more pascal like. So while I do not know what the version problem is, it would be easy to make an updated version, if I had copy of both the new and old version for reference. I would suggest however you try libesd first, as it is very easy to use, and means you are not limited to using the sound system directly, and it works on more platforms than Lazarus. Yes it means another dependency for your program, but you can always put your sound support into a dynamically linked dll, thus allowing you to gracefully continue without sound, even if the dll fails to load. <<winmail.dat>>

Reply by email

Marco van de Voort
to Tony Maro: Back about a month ago I was asking about sound support for Linux and was pointed towards…
Show quoted text 6 lines
Someone - I don't remember who - said that he was going to try and convert the headers for the new version. Any progress? I just finished check printing support for CheckBook Tracker and am working on split transactions and category management, but I'd like to go ahead and add sound support. It just doesn't feel right without that satisfying "click" when you enter a new transaction. I've looked at the C headers, but I just can't read that stuff...

There is some trailing garbadge on your msgs lately. Caught a virus?

Reply by email