windows audio control improvements: add stop and do a little better

about getting subchannel info (still needs work). Attempt close tray
routine which is still broken across the board pending reworking.
This commit is contained in:
rocky
2005-03-07 00:55:31 +00:00
parent 79942ad9b6
commit 75c7b9a3d3
3 changed files with 167 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
/*
$Id: win32.h,v 1.6 2005/03/06 00:54:50 rocky Exp $
$Id: win32.h,v 1.7 2005/03/07 00:55:31 rocky Exp $
Copyright (C) 2004, 2005 Rocky Bernstein <rocky@panix.com>
@@ -95,6 +95,15 @@ driver_return_code_t
audio_read_subchannel_win32ioctl (void *p_user_data,
cdio_subchannel_t *p_subchannel);
/*!
Set the volume of an audio CD.
@param p_cdio the CD object to be acted upon.
*/
driver_return_code_t
audio_stop_win32ioctl ( void *p_user_data );
/*!
Set the volume of an audio CD.
@@ -105,6 +114,14 @@ driver_return_code_t
audio_set_volume_win32ioctl ( void *p_user_data,
cdio_audio_volume_t *p_volume);
/*!
Close the tray of a CD-ROM
@param p_user_data the CD object to be acted upon.
*/
driver_return_code_t close_tray_win32ioctl (void *p_user_data);
/*!
Reads an audio device using the DeviceIoControl method into data
starting from lsn. Returns 0 if no error.