• 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
Java Bridge?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Java Bridge?


  • Subject: Java Bridge?
  • From: Daniel Staudigel <email@hidden>
  • Date: Fri, 21 Jun 2002 18:57:14 -0700

When I try to access CoreAudio classes from Obj-C I get

2002-06-21 18:46:16.883 D-CAF[1803] *** -[com/apple/audio/hardware/AudioHardware getAudioDevices]: selector not recognized
2002-06-21 18:46:16.885 D-CAF[1803] Exception raised during posting of notification. Ignored. exception: *** -[com/apple/audio/hardware/AudioHardware getAudioDevices]: selector not recognized

With this code:

//
// Created by Daniel Staudigel on Fri Jun 21 2002.
// Copyright (c) 2002 __MyCompanyName__. All rights reserved.
//

#import "DCHardware.h"

@interface AudioHardware : NSObject
{}

- (id)getAudioDevices;
@end

@implementation DCHardware

+ (void)discoverHardware
{
id hardware = [[NSClassFromString(@"com.apple.audio.hardware.AudioHardware") alloc] init];

//[hardware getAudioDevices];

NSLog([[hardware getAudioDevices] description]);
}

@end

Should I use just the C version of CoreAudio (Documentation/Simple Example?), or make some sort of wrapper?

Daniel
_______________________________________________
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.

  • Prev by Date: Re: clarification on RME suggestions ...
  • Next by Date: Re: clarification on RME suggestions ...
  • Previous by thread: Re: AudioConverterConvertBuffer artifacts
  • Next by thread: new version of MTCoreAudio
  • Index(es):
    • Date
    • Thread