2
.\" Copyright (c) 2005, 4Front Technologies 2005\&.
3
.TH ossddk_adev_set_songname 9ossddk "12 Sep 2005" "SunOS 5.10" "OSS DDK Services"
5
ossddk_adev_set_songname \- Assign song name to an audio stream
9
#include <sys/soundcard.h>
11
#include <sys/ossddk/ossddk.h>
14
\fBvoid\fR ossddk_adev_set_songname(\fBint \fIdev\fP, \fBchar *\fIsong\fP);
18
Open Sound System specific (OSS 4.0 DDK)\&.
28
OSS audio device number.
36
Pointer to a string containing 0 to 63 characters. An empty string means that
37
there is no song name information available. The string should only contain printable
38
(8 bit ISO-8859-x) characters.
43
Song name is free formatted string describing the content of the audio stream. Source
44
of the stream (for example the driver of an input device) can assign the name. The
45
application recording from the device can obtain the name using
46
\fISNDCTL_AUDIOINFO(2oss)\fR. For example a driver of an RDS radio receiver can
47
obtain the song name from the RDS information sent by the radio station.
49
The song name string can contain any other information about the stream if the song
50
name is not available. However the driver must not send this info unless it has some
51
information that is really important. In general the song name should NOT be something
52
generated automatically by the driver.
56
\fIossddk_adev_get_songname(9ossddk)\fR
58
\fIWriting Sound Device Drivers with OSS DDK\fR
60
\fIOpen Sound System Programmer's Guide\fR