• 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
Playing sound
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
***************************


  • Follow-Ups:
    • Re: Playing sound
      • From: Jeff Moore <email@hidden>
  • Prev by Date: Re: USB-MIDI driver source in Darwin?
  • Next by Date: Re: Playing sound
  • Previous by thread: Re: USB-MIDI driver source in Darwin?
  • Next by thread: Re: Playing sound
  • Index(es):
    • Date
    • Thread