Playing sound
Playing sound
- Subject: Playing sound
- From: Ken Wieschhoff <email@hidden>
- Date: Tue, 5 Jun 2001 12:09:14 -0400
I have a unique problem I'm attempting to find a solution to.
My USB Modem contains a USB Pipe whose sole purpose is to provide
linear PCM samples of sound data for playback through the default
output device. I need a way to play those samples.
On the USB mailing list Roger Smith has suggested I can create an
IOAudioDevice from the USB driver. Would this be as simple as
creating the IOAudioDevice and calling it's start method to allow it
to be found by an application? Once the IOAudioDevice is
instantiated, can I simply populate and timestamp an IOAudioDMAEngine
structure to make the samples playable?
To check if I'm on the correct path, will there be entries in
IORegistryExplorer where I can see what the system is up to?
Does the Daisy sample code contain examples of how my player
application would find my new device?
Initially it appears I really wouldn't want my device to show up as a
sound source, is there a way my application can search specifically
for my device while allowing other applications to ignore this device?
Also is Dave Hill present on this list? I opened a DTS incident last
week and he had promised to follow up with some sample code I'll
eventually need for the playback application.
Thanks for any help, your assistance is greatly appreciated!
->Ken
--
- --
Ken Wieschhoff
"I'm not last in line, I'm first from the line behind me."
(770)813-0231
***************************