Has anyone else had issues playing wave files with NSSound? Not only
does it refuse to play the file (even tho I can open it with the
Quicktime Player and play it), but it fails to error. It simply
doesn't make a sound. AIFF files seem to play just fine. Here is the
code in a generic
On Jul 7, 2008, at 1:53 AM, Jason Bobier wrote:
Has anyone else had issues playing wave files with NSSound? Not only
does it refuse to play the file (even tho I can open it with the
Quicktime Player and play it), but it fails to error. It simply
doesn't make a sound. AIFF files seem to
BTW, this:
- (void)awakeFromNib
{
BOOL success;
NSError *error = nil;
QTMovie *sound = [[QTMovie movieWithFile:@/Users/jason/Desktop/
306.wav error:error] retain];
[sound play];
NSLog(@%d, (int)success);
}
works fine.
On Jul 7,
Hey Charles,
I just did and that worked fine, so at least I have a work around. :-)
Jason
On Jul 7, 2008, at 3:01 AM, Charles Srstka wrote:
On Jul 7, 2008, at 1:53 AM, Jason Bobier wrote:
Has anyone else had issues playing wave files with NSSound? Not
only does it refuse to play the file