• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: UPDATE - Re: java coreaudio, missing methods
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UPDATE - Re: java coreaudio, missing methods


  • Subject: Re: UPDATE - Re: java coreaudio, missing methods
  • From: Kay Michael Koehler <email@hidden>
  • Date: Thu, 4 Jul 2002 01:21:56 +0200

thank you.

regarding the java output example i set up the destination stream to 8khz and it works.
but if i try to modify settings like channels, bytes per packet like show here:

destFormat.setSampleRate(8000);
destFormat.setBitsPerChannel(8);
destFormat.setChannelsPerFrame(1);
destFormat.setBytesPerFrame(1);
destFormat.setBytesPerPacket(1);
destFormat.setFramesPerPacket(1);

and similar..

question: is it just possible to down-turn the rate ?

- michael

On Wednesday, July 3, 2002, at 09:18 AM, Bill Stewart wrote:

This call is removed

To do sample rate conversions use the AudioConverter

There's actually examples of doing just this
/Examples/CoreAudio/Java/SDK/Output

I've run conversions from as low a 4K up to 192K through our converters and
not seen anything like the problems that someone else was reporting - which
I would guess is a problem in configuring the stream descriptions to
accurately describe to the converter what your source and destination
formats are.

For an example of that see CAServices/DefaultOutput (or some such) that has
some tweakable parameters to do a range of channels, sample rates, ints or
floats for source - you can stress test the converters this way for yourself

Bill

on 7/2/02 4:25 AM, Kay Michael Koehler wrote:

i installed the java131 update, but the following class method
(mentioned in the docs) is not available.

AudioHardware.createVirtualSource();

if this problem is not resolvable, is there an other way to convert the
44khz audio down to 8khz ?

-michael

On Tuesday, July 2, 2002, at 12:58 PM, Kay Michael Koehler wrote:

sure?

i already have the java developer from 23 feb. 2002. installed.

but the coreaudio.jar's timestamp has not chanced. actually, the
timestamp is 15.feb.2002

i opened a java bug ticket about that 8 day's ago, but only a receipt
arrived till today :)
so i decide to ask the people on this list !

should i install an other update package ? is there a way to do this
update by the system updater ?

-michael

On Sunday, June 30, 2002, at 12:31 AM, Bill Stewart wrote:

You need to do a Java Update to get the latest version of CAJava

Bill

on 6/29/02 3:20 PM, Kay Michael Koehler wrote:

there are methods mentioned inside the doc which never appears inside
the compiled library.
i have installed mac os x 10.1.5.

does anyone know anything about that issue ?

-michael
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.


mailto:email@hidden
tel: +1 408 974 4056
__________________________________________________________________________
"Thousands of years ago, cats were worshipped as gods. We have never
forgotten this."
__________________________________________________________________________
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.


mailto:email@hidden
tel: +1 408 974 4056
__________________________________________________________________________
"Thousands of years ago, cats were worshipped as gods. We have never
forgotten this."
__________________________________________________________________________
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: UPDATE - Re: java coreaudio, missing methods (From: Bill Stewart <email@hidden>)

  • Prev by Date: Fwd: AudioConverterFillBuffer - resampling
  • Next by Date: Re: Dave
  • Previous by thread: Re: UPDATE - Re: java coreaudio, missing methods
  • Next by thread: CoreMIDI questions
  • Index(es):
    • Date
    • Thread