Thread View: borland.public.cppbuilder.nativeapi
4 messages
4 total messages
Started by bar
Thu, 22 Feb 2007 09:05
Audio File info
Author: bar
Date: Thu, 22 Feb 2007 09:05
Date: Thu, 22 Feb 2007 09:05
5 lines
971 bytes
971 bytes
Hello all i have a audio file on windows xp. Is there anyway to read the duration and size of the file Thanks SA
Re: Audio File info
Author: danzer
Date: Fri, 23 Feb 2007 19:08
Date: Fri, 23 Feb 2007 19:08
14 lines
1201 bytes
1201 bytes
bar wrote: > Hello all > i have a audio file on windows xp. > Is there anyway to read the duration and size of the file > Thanks > SA > > Perhaps this can help http://www.wotsit.org/search.asp?page=1&s=music Danzer
Re: Audio File info
Author: bar
Date: Thu, 01 Mar 2007 09:13
Date: Thu, 01 Mar 2007 09:13
14 lines
1185 bytes
1185 bytes
No "danzer" <.> wrote in message news:45df3c25$1@newsgroups.borland.com... > bar wrote: >> Hello all >> i have a audio file on windows xp. >> Is there anyway to read the duration and size of the file >> Thanks >> SA > > Perhaps this can help > > http://www.wotsit.org/search.asp?page=1&s=music > > Danzer
Re: Audio File info
Author: Michel Leunen
Date: Thu, 01 Mar 2007 20:25
Date: Thu, 01 Mar 2007 20:25
24 lines
1832 bytes
1832 bytes
bar wrote: > No Yes! What Danzer was trying to tell you is that on wotsit.org, you can get a description of nearly all audio type/file used. Most of these files have a header containing the number of samples/sec, the number of channels, the number of bits/samples, the total length of the file. With these data, you can calculate yourself the duration of your audio file. Since the duration is also given in the properties of the file (when you right click on the file in explorer), there must be a way to ask windows directly. Probably using com, ole or whatever. I can't tell you how to do that though, I leave it to others. Michel -- ---------------------------------------- Michel Leunen mailto: see my homepage. C++Builder, BCC5.5.1 Web site: http://www.leunen.com/ ----------------------------------------
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads