Commit d3dd250c authored by Jörg Höhle's avatar Jörg Höhle Committed by Alexandre Julliard

mciwave: waveaudio does not support the shareable flag.

parent e1f3edef
...@@ -38,7 +38,6 @@ typedef struct { ...@@ -38,7 +38,6 @@ typedef struct {
UINT wDevID; UINT wDevID;
HANDLE hWave; HANDLE hWave;
int nUseCount; /* Incremented for each shared open */ int nUseCount; /* Incremented for each shared open */
BOOL fShareable; /* TRUE if first open was shareable */
HMMIO hFile; /* mmio file handle open as Element */ HMMIO hFile; /* mmio file handle open as Element */
MCI_WAVE_OPEN_PARMSW openParms; MCI_WAVE_OPEN_PARMSW openParms;
WAVEFORMATEX wfxRef; WAVEFORMATEX wfxRef;
...@@ -476,7 +475,7 @@ static LRESULT WAVE_mciOpen(MCIDEVICEID wDevID, DWORD dwFlags, LPMCI_WAVE_OPEN_P ...@@ -476,7 +475,7 @@ static LRESULT WAVE_mciOpen(MCIDEVICEID wDevID, DWORD dwFlags, LPMCI_WAVE_OPEN_P
if (wmw == NULL) return MCIERR_INVALID_DEVICE_ID; if (wmw == NULL) return MCIERR_INVALID_DEVICE_ID;
if (dwFlags & MCI_OPEN_SHAREABLE) if (dwFlags & MCI_OPEN_SHAREABLE)
return MCIERR_HARDWARE; return MCIERR_UNSUPPORTED_FUNCTION;
if (wmw->nUseCount > 0) { if (wmw->nUseCount > 0) {
/* The driver is already opened on this channel /* The driver is already opened on this channel
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment