Re: playing mono files
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.