ao_subdevice support added

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1208 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
al3x 2001-06-23 18:59:54 +00:00
parent 517707c56b
commit d39f5c5962
2 changed files with 6 additions and 0 deletions

View File

@ -155,6 +155,9 @@ static int init(int rate_hz, int channels, int format, int flags)
return(0);
}
if (ao_subdevice != NULL)
alsa_device = ao_subdevice;
if (alsa_device == NULL)
{
if ((alsa_device = malloc(ALSA_DEVICE_SIZE)) == NULL)

View File

@ -155,6 +155,9 @@ static int init(int rate_hz, int channels, int format, int flags)
return(0);
}
if (ao_subdevice != NULL)
alsa_device = ao_subdevice;
if (alsa_device == NULL)
{
if ((alsa_device = malloc(ALSA_DEVICE_SIZE)) == NULL)