mirror of
https://github.com/mpv-player/mpv
synced 2025-01-16 22:37:28 +01:00
Mono audio should be supported by NAS, too.
Patch by Erik Auerswald {auerswal -at- unix-ag <dot> uni-kl de} git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23024 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
b68346f582
commit
4e411b9089
@ -445,7 +445,7 @@ static int init(int rate,int channels,int format,int flags)
|
||||
return 0;
|
||||
}
|
||||
|
||||
while (channels>1) {
|
||||
while (channels>0) {
|
||||
nas_data->dev = nas_find_device(nas_data->aud, channels);
|
||||
if (nas_data->dev != AuNone &&
|
||||
((nas_data->flow = AuCreateFlow(nas_data->aud, NULL)) != 0))
|
||||
|
Loading…
Reference in New Issue
Block a user