mirror of https://github.com/mpv-player/mpv
10l, patch by Bjoern Sandell
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12149 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
09e0b9d4b9
commit
6835ae9345
|
@ -628,7 +628,7 @@ static void uninit(int immed){
|
||||||
static void reset(){
|
static void reset(){
|
||||||
audio_info_t info;
|
audio_info_t info;
|
||||||
|
|
||||||
uninit();
|
uninit(1);
|
||||||
audio_fd=open(audio_dev, O_WRONLY);
|
audio_fd=open(audio_dev, O_WRONLY);
|
||||||
if(audio_fd<0){
|
if(audio_fd<0){
|
||||||
printf("\nFatal error: *** CANNOT RE-OPEN / RESET AUDIO DEVICE (%s) ***\n", strerror(errno));
|
printf("\nFatal error: *** CANNOT RE-OPEN / RESET AUDIO DEVICE (%s) ***\n", strerror(errno));
|
||||||
|
|
Loading…
Reference in New Issue