RE: Coreaudio-api Digest, Vol 5, Issue 297
RE: Coreaudio-api Digest, Vol 5, Issue 297
- Subject: RE: Coreaudio-api Digest, Vol 5, Issue 297
- From: <email@hidden>
- Date: Sun, 21 Sep 2008 13:35:50 -0600
- Organization: Synful
Hi Ken,
Can you check a few things:
1) Check /Library/Audio/Plug-ins/Components. You should see Synful
Orchestra.compnent.
2) Check /Applications/Synful/Synful/Orchestra there should be an
Instruments subfolder with a bunch of .isr files.
3) Run the Logic AU Maneger -- under Logic->Preferences. You should see
Synful Orchestra listed there.
If these aren't there then try reinstalling. It's important that the install
be done on the main system hard drive.
Get back to us with the result of this investigation.
Thanks,
Synful Support
-----Original Message-----
From: coreaudio-api-bounces+eric=email@hidden
[mailto:coreaudio-api-bounces+eric=email@hidden] On Behalf Of
email@hidden
Sent: Sunday, September 21, 2008 1:04 PM
To: email@hidden
Subject: Coreaudio-api Digest, Vol 5, Issue 297
Send Coreaudio-api mailing list submissions to
email@hidden
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.apple.com/mailman/listinfo/coreaudio-api
or, via email, send a message with subject or body 'help' to
email@hidden
You can reach the person managing the list at
email@hidden
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Coreaudio-api digest..."
Today's Topics:
1. Associating audio devices and kexts? (David Lavo)
2. AudioQueueDispose vs. AudioQueueStop (John Zorko)
3. Re: Associating audio devices and kexts? (Jeff Moore)
----------------------------------------------------------------------
Message: 1
Date: Sun, 21 Sep 2008 06:08:14 -0700
From: David Lavo <email@hidden>
Subject: Associating audio devices and kexts?
To: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Hello all,
Another (basic) question that arises as I try to inventory all audio
devices on a system: is there a reliable way to associate an audio
device with its driver/kext? While iterating through audio drivers,
I'd like to match each with its driver in a kextstat-like list. In my
kext list I have access to the usual stuff, including bundle
identifiers and property sets.
Thanks for any help,
David
------------------------------
Message: 2
Date: Sun, 21 Sep 2008 08:50:26 -0700
From: John Zorko <email@hidden>
Subject: AudioQueueDispose vs. AudioQueueStop
To: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Hello, all ...
So i'm working on this streaming application, and it streams and plays
the first item in my list fine ... but when I try to start playing
another item (hence stopping the first), things get wonky. I'm
apparently not stopping the audio queue correctly. The relevant parts
of my code follow (based heavily on AudioFileStreamExample), but I
don't know the difference between AudioQueueDispose and
AudioQueueStop. How does one stop an audio queue quickly (_can_ an
audio queue be stopped quickly?) so another queue can be started?
- (void)playStream:(Song *)streamToPlay
{
keepRunningThread = 0; // tell current thread to stop
while(myData.playing == YES) // wait for it to stop
{
[[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode
beforeDate:nil];
}
// ... and start a new one with the new stream to play
NSLog(@"starting thread to play mp3 stream %s", [streamToPlay.mp3
UTF8String]);
[NSThread detachNewThreadSelector:@selector(connectAndPlayStream:)
toTarget:self withObject:streamToPlay];
}
- (void)connectAndPlayStream:(Song *)streamToPlay
{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
myData.playing = YES;
keepRunningThread = 1;
// initialize a mutex and condition so that we can block on buffers
in use.
pthread_mutex_init(&myData.mutex, NULL);
pthread_cond_init(&myData.cond, NULL);
OSStatus err = AudioFileStreamOpen(&myData, MyPropertyListenerProc,
MyPacketsProc,
kAudioFileAAC_ADTSType, &myData.audioFileStream);
if (err)
{
NSLog(@"AudioFileOStreamOpen error %d", err);
}
NSString *url = @"http://he3.magnatune.com/all/";
url = [url stringByAppendingString:streamToPlay.mp3];
NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL
URLWithString:[url
stringByAddingPercentEscapesUsingEncoding:NSASCIIStringEncoding]]
cachePolicy:NSURLRequestUseProtocolCachePolicy timeoutInterval:60.0];
NSURLConnection *connection = [[NSURLConnection alloc]
initWithRequest:request delegate:self];
if (connection)
{
receivedData = [[NSMutableData data] retain];
}
else
{
NSLog(@"can't connect to server");
}
while (keepRunningThread)
{
[[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode
beforeDate:nil];
// if we've been told to stop, stop ...
if (keepRunningThread == 0)
{
[connection cancel];
AudioQueueStop(myData.audioQueue, false);
AudioFileStreamClose(myData.audioFileStream);
AudioQueueDispose(myData.audioQueue, false);
}
}
myData.playing = NO;
pthread_cond_destroy(&myData.cond);
pthread_mutex_destroy(&myData.mutex);
[pool release];
exit;
}
Regards,
John
Falling You - exploring the beauty of voice and sound
http://www.fallingyou.com
------------------------------
Message: 3
Date: Sun, 21 Sep 2008 10:52:27 -0700
From: Jeff Moore <email@hidden>
Subject: Re: Associating audio devices and kexts?
To: CoreAudio API <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
There is no official ways to map an AudioDevice to a kext. In fact,
there are audio devices that aren't associated with any kext (e.g. the
iSight).
On Sep 21, 2008, at 6:08 AM, David Lavo wrote:
> Another (basic) question that arises as I try to inventory all audio
> devices on a system: is there a reliable way to associate an audio
> device with its driver/kext? While iterating through audio drivers,
> I'd like to match each with its driver in a kextstat-like list. In
> my kext list I have access to the usual stuff, including bundle
> identifiers and property sets.
--
Jeff Moore
Core Audio
Apple
------------------------------
_______________________________________________
Coreaudio-api mailing list
email@hidden
http://lists.apple.com/mailman/listinfo/coreaudio-api
End of Coreaudio-api Digest, Vol 5, Issue 297
*********************************************
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden