Audio-Play-MPG123
view release on metacpan or search on metacpan
mpg123/README view on Meta::CPAN
NAS notes: (from Martin Denn)
-----------------------------
you may wanna play with the following defines: (from audio.c)
NAS_SOUND_PORT_DURATION
NAS_SOUND_LOW_WATER_MARK
Change them to optimize the player for your environment. For slow
networks a proven config is:
#define NAS_SOUND_PORT_DURATION 10 /* seconds */
#define NAS_SOUND_LOW_WATER_MARK 75 /* percent */
Pentium optimization notes:
---------------------------
The ASM optimaztions are especially for Intel Pentium FPUs.
On other processorts the egcs compiler optimization
may do a better job. This part can be used under GPL.
3DNow notes:
------------
You need a new 'as'. ie. the 'as' from binutils-2.9.1.0.19a.
mpg123/audio_nas.c view on Meta::CPAN
AuDeviceAttributes *da;
int numDevices;
char *buf;
AuUint32 buf_size;
AuUint32 buf_cnt;
AuBool data_sent;
AuBool finished;
} InfoRec, *InfoPtr;
#define NAS_SOUND_PORT_DURATION 5 /* seconds */
#define NAS_SOUND_LOW_WATER_MARK 25 /* percent */
#define NAS_MAX_FORMAT 10 /* currently, there are 7 supported formats */
static InfoRec info;
/* NAS specific routines */
static void
nas_sendData(AuServer *aud, InfoPtr i, AuUint32 numBytes)
{
if (numBytes < i->buf_cnt) {
( run in 0.421 second using v1.01-cache-2.11-cpan-709fd43a63f )