output/osx: implement 32 bit playback

This commit is contained in:
Max Kellermann
2011-12-24 18:18:42 +01:00
parent 9179d9592d
commit 1ebadf8620
2 changed files with 7 additions and 2 deletions

View File

@@ -345,9 +345,13 @@ osx_output_open(struct audio_output *ao, struct audio_format *audio_format, GErr
stream_description.mBitsPerChannel = 16;
break;
case SAMPLE_FORMAT_S32:
stream_description.mBitsPerChannel = 32;
break;
default:
audio_format->format = SAMPLE_FORMAT_S16;
stream_description.mBitsPerChannel = 16;
audio_format->format = SAMPLE_FORMAT_S32;
stream_description.mBitsPerChannel = 32;
break;
}