libcdio
2.1.0
|
The top-level header for CD audio-related libcdio calls. These control playing of the CD-ROM through its line-out jack. More...
#include <cdio/types.h>
Go to the source code of this file.
Data Structures | |
struct | cdio_subchannel_s |
struct | cdio_audio_volume_s |
struct | cdio_track_index_s |
Typedefs | |
typedef struct cdio_subchannel_s | cdio_subchannel_t |
typedef struct cdio_audio_volume_s | cdio_audio_volume_t |
typedef struct cdio_track_index_s | cdio_track_index_t |
Functions | |
driver_return_code_t | cdio_audio_get_volume (CdIo_t *p_cdio, cdio_audio_volume_t *p_volume) |
uint32_t | cdio_audio_get_msf_seconds (msf_t *p_msf) |
driver_return_code_t | cdio_audio_pause (CdIo_t *p_cdio) |
driver_return_code_t | cdio_audio_play_msf (CdIo_t *p_cdio, msf_t *p_start_msf, msf_t *p_end_msf) |
driver_return_code_t | cdio_audio_play_track_index (CdIo_t *p_cdio, cdio_track_index_t *p_track_index) |
driver_return_code_t | cdio_audio_read_subchannel (CdIo_t *p_cdio, cdio_subchannel_t *p_subchannel) |
driver_return_code_t | cdio_audio_resume (CdIo_t *p_cdio) |
driver_return_code_t | cdio_audio_set_volume (CdIo_t *p_cdio, cdio_audio_volume_t *p_volume) |
driver_return_code_t | cdio_audio_stop (CdIo_t *p_cdio) |
The top-level header for CD audio-related libcdio calls. These control playing of the CD-ROM through its line-out jack.
typedef struct cdio_audio_volume_s cdio_audio_volume_t |
This struct is used by cdio_audio_get_volume and cdio_audio_set_volume
typedef struct cdio_subchannel_s cdio_subchannel_t |
This struct is used by the cdio_audio_read_subchannel
typedef struct cdio_track_index_s cdio_track_index_t |
This struct is used by the CDROMPLAYTRKIND ioctl
uint32_t cdio_audio_get_msf_seconds | ( | msf_t * | p_msf | ) |
Return the number of seconds (discarding frame portion) of an MSF
driver_return_code_t cdio_audio_get_volume | ( | CdIo_t * | p_cdio, |
cdio_audio_volume_t * | p_volume | ||
) |
Get volume of an audio CD.
p_cdio | the CD object to be acted upon. |
p_volume | place to put the list of volume outputs levels |
p_volume
can be NULL
in which case we return only whether the driver has the ability to get the volume or not.
driver_return_code_t cdio_audio_pause | ( | CdIo_t * | p_cdio | ) |
Pause playing CD through analog output
p_cdio | the CD object to be acted upon. |
driver_return_code_t cdio_audio_play_msf | ( | CdIo_t * | p_cdio, |
msf_t * | p_start_msf, | ||
msf_t * | p_end_msf | ||
) |
Playing CD through analog output at the given MSF.
p_cdio | the CD object to be acted upon. |
p_start_msf | pointer to staring MSF |
p_end_msf | pointer to ending MSF |
driver_return_code_t cdio_audio_play_track_index | ( | CdIo_t * | p_cdio, |
cdio_track_index_t * | p_track_index | ||
) |
Playing CD through analog output at the desired track and index
p_cdio | the CD object to be acted upon. |
p_track_index | location to start/end. |
driver_return_code_t cdio_audio_read_subchannel | ( | CdIo_t * | p_cdio, |
cdio_subchannel_t * | p_subchannel | ||
) |
Get subchannel information.
p_cdio | the CD object to be acted upon. |
p_subchannel | place for returned subchannel information |
driver_return_code_t cdio_audio_resume | ( | CdIo_t * | p_cdio | ) |
Resume playing an audio CD.
p_cdio | the CD object to be acted upon. |
driver_return_code_t cdio_audio_set_volume | ( | CdIo_t * | p_cdio, |
cdio_audio_volume_t * | p_volume | ||
) |
Set volume of an audio CD.
p_cdio | the CD object to be acted upon. |
p_volume | place for returned volume-level information |
driver_return_code_t cdio_audio_stop | ( | CdIo_t * | p_cdio | ) |
Stop playing an audio CD.
p_cdio | the CD object to be acted upon. |