[vlc-commits] Auhal: blind compilation fix
Jean-Baptiste Kempf
git at videolan.org
Wed Oct 31 19:42:35 CET 2012
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Oct 31 19:42:18 2012 +0100| [44e1cfc0bd5f8f5539de4ee0f73cd53223a33ccb] | committer: Jean-Baptiste Kempf
Auhal: blind compilation fix
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=44e1cfc0bd5f8f5539de4ee0f73cd53223a33ccb
---
modules/audio_output/auhal.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/audio_output/auhal.c b/modules/audio_output/auhal.c
index 49766cb..af6d517 100644
--- a/modules/audio_output/auhal.c
+++ b/modules/audio_output/auhal.c
@@ -100,8 +100,8 @@ struct aout_sys_t
* Local prototypes.
*****************************************************************************/
static int Open (vlc_object_t *);
-static int OpenAnalog (audio_output_t *);
-static int OpenSPDIF (audio_output_t *);
+static int OpenAnalog (audio_output_t *, audio_sample_format_t *);
+static int OpenSPDIF (audio_output_t *, audio_sample_format_t *);
static void Close (vlc_object_t *);
static void Probe (audio_output_t *);
@@ -250,12 +250,12 @@ static int Start(audio_output_t *p_aout, audio_sample_format_t *restrict fmt)
/* Check for Digital mode or Analog output mode */
if (AOUT_FMT_SPDIF (fmt) && b_supports_digital) {
- if (OpenSPDIF (p_aout)) {
+ if (OpenSPDIF (p_aout, fmt)) {
msg_Dbg(p_aout, "digital output successfully opened");
return VLC_SUCCESS;
}
} else {
- if (OpenAnalog(p_aout)) {
+ if (OpenAnalog(p_aout, fmt)) {
msg_Dbg(p_aout, "analog output successfully opened");
return VLC_SUCCESS;
}
More information about the vlc-commits
mailing list