• 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: playing mono files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: playing mono files


  • Subject: Re: playing mono files
  • From: Holger Hörich <email@hidden>
  • Date: Tue, 14 Oct 2003 12:08:18 +0200

Hi Stanko,

you might have a look at the channel map capabilities of the audio converter (see PlayAudioFileLite example on Apples CoreAudio Website)

But honestly this is more a guess than a hint...

Regards,
Holger

On Friday, Oct 10, 2003, at 19:39 Europe/Berlin, Stanko Juzbasic wrote:

Does anyone have experience how to make Core audio play mono files WITHOUT HAVING TO CONVERT THEM TO STEREO ?

err = AudioDeviceSetProperty (audio_data.device, NULL, 0, false, kAudioDevicePropertyStreamFormat,
sizeof (AudioStreamBasicDescription), &(audio_data.format)))

always returns an error if

audio_data.format.mChannelsPerFrame equals 1.

How to make a workaround this problem? If I hardcode the former parameter to be >= 2, than everything plays at double speed. Is there an easy way to simply read each of the samples from a file twice?



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


-----------------------------------------------------------------------
Holger Hoerich
Research Engineer Coding Technologies

phone: +49 (0) 911 92891 -28 Deutschherrnstr. 15-19
fax: +49 (0) 911 92891 -99 90429 Nuernberg, Germany
mailto:email@hidden http://www.CodingTechnologies.com
_______________________________________________
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.

References: 
 >playing mono files (From: Stanko Juzbasic <email@hidden>)

  • Prev by Date: iTunes Audio Plug-In
  • Next by Date: Re: coreaudio-api digest, Vol 2 #880 - 15 msgs
  • Previous by thread: Re: playing mono files
  • Next by thread: playing mono files
  • Index(es):
    • Date
    • Thread