Optical In Audio Device
Optical In Audio Device
- Subject: Optical In Audio Device
- From: Kevin Kicklighter <email@hidden>
- Date: Fri, 16 Dec 2005 16:46:49 -0500
I have an iMac playing a WAV file via the Toslink (optical) cable
into my G4 Powerbook. I generate the WAV files @44.1 kHz and I see
my data using the ComplexPlayThru example code, running on my
Powerbook, everything works perfectly. My question is that when I
change my data rate to 48kHz the data received is not 100% accurate.
Does the optical input on the Powerbook automatically detect the data
rate of samples over the line (light) ? I tried setting the audio
device "AudioDeviceSetProperty"'s sample rate (in
ComplexPlayThru.cpp) but in never succeeded. I also tried modifying
the Varispeed AU and OutputUnit's sample rate to 48kHz, and that
didn't work.
What am I missing? Just playing a sine wave in this configuration
sounds distorted, it's like the optical receiver is locked in at 44.1
kHz, and if there is a way to change it could someone please let me
know?
Also, does anyone know of another way to generate digital audio from
one mac to the other ? I assumed I could used Firewire or USB, but
don't know how to do that yet? Any ideas would be greatly welcomed
(Ethernet could work if it was in the form of sound driver)
Thanks,
Kevin.
_______________________________________________
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