playing mono files
playing mono files
- Subject: playing mono files
- From: Stanko Juzbasic <email@hidden>
- Date: Fri, 10 Oct 2003 19:39:41 +0200
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.