• 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: Music Device and channel handshake
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Music Device and channel handshake


  • Subject: Re: Music Device and channel handshake
  • From: William Stewart <email@hidden>
  • Date: Mon, 31 Jan 2005 12:26:46 -0800

0 for a channel count is not a valid value

Bill

On 29/01/2005, at 6:56 PM, seb_plogue wrote:

Makira wrote:
Even though Plogue will
load it, it'll show as a 1 output music device.
The problems I had were specific to Plogue, the code seems to work correctly
for other hosts. I've talk with Seb from Plogue and it'll be fixed one way
or another (actually, we're still looking if the problem could be in the
coreaudio sdk).

Might as well post what the thing is to the list as I think it's relevant :

Does a music device plug-in that publish [0, n] (-1 in this case)
should return noErr on SetProperty(StreamFormat, input) with
an AudioStreamBasicDescription set to 0 channels ?

(I have code that calls SetProperty(StreamFormat) on input/output
when a plug-in declares "variable" number of inputs/outputs to
test some configurations validity.)

Anyway, I can totally understand why the base classes would return an
error with 0 channels and I can easily fix my code to not
call SetProperty if inChannels is 0 but I'm just wondering
about this specific case.

-- Plogue Art et Technologie Inc.
Montreal. http://www.plogue.com


_______________________________________________
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


-- mailto:email@hidden
tel: +1 408 974 4056


________________________________________________________________________ __
Culture Ship Names:
Ravished By The Sheer Implausibility Of That Last Statement [GSV]
I said, I've Got A Big Stick [OU]
Inappropiate Response [OU]
Far Over The Borders Of Insanity And Still Accelerating [Eccentric]
________________________________________________________________________ __


_______________________________________________
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


References: 
 >Re: Music Device and channel handshake (From: Makira <email@hidden>)
 >Re: Music Device and channel handshake (From: seb_plogue <email@hidden>)

  • Prev by Date: Re: Application Support of hardwareSampleRateChanged and external clocking
  • Next by Date: Re: Audio Drop-outs - VM?
  • Previous by thread: Re: Music Device and channel handshake
  • Next by thread: Re: Music Device and channel handshake
  • Index(es):
    • Date
    • Thread