Rakhesh Sasidharan
2001-Mar-13 14:53 UTC
[vorbis] Followup to compiling Ogg on NetBSD-1.5/i386
Hi Jeremy, I went through the list archives, and have been trying to follow and implement things as I understand: 1. libao needs <sys/soundcard.h> and <machine/soundcard.h>, and so I linked /usr/include/soundcard.h there. 2. Since `soundcard.h' doesn't have SNDCTL_DSP_GETODELAY, I uncommented that particular line in `src/plugins/oss/ao_oss.c'. These steps made sure that I had liboss files created in /usr/pkg/lib/ao/. 3. After that, I went to vorbis-tools. (**I had compiled libogg and libvorbis earlier -- do I need to compile them again now that I have made changes in libao ?** I think not, but I still ask). 3. The rest of the stuff in your notes didn't make any sense to me (I'm only a beginner user), but I gathered that we need to do something with the -lossaudio option. And I gathered that it has to be put in ogg123/Makefile (ie, LIBS = -lossaudio *and* LDFLAGS = -lossaudio). Well, I ran `configure' first, then made the above changes, and `make && make install' ... ... but still ogg123 reports "No such device oss". :-( Now I'm back to a dead-end with no clue whatsoever. Where have I gone wrong/screwed up ... ? Regards. __ Rakhesh Sasidharan rakhesh at cse.iitd.ac.in --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
I've been looking for a way to id my ogg files as I encode them without having to type everything in myself, and I came up with this solution: cdex (it's for windows) will output wav files with id3 tags. If oggdrop and/or oggenc could read the id3 tags off of the source wav file and automatically put them in the ogg info, that would be very handy. What do you think? -jeff --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Jeremy C. Reed
2001-Mar-13 15:17 UTC
[vorbis] Re: Followup to compiling Ogg on NetBSD-1.5/i386
On Wed, 14 Mar 2001, Rakhesh Sasidharan wrote:> 3. After that, I went to vorbis-tools. (**I had compiled libogg and > libvorbis earlier -- do I need to compile them again now that I have > made changes in libao ?** I think not, but I still ask).No you shouldn't have to.> 3. The rest of the stuff in your notes didn't make any sense to me (I'm > only a beginner user), but I gathered that we need to do something withMy notes are not too good :)> the -lossaudio option. And I gathered that it has to be put in > ogg123/Makefile (ie, LIBS = -lossaudio *and* LDFLAGS = -lossaudio). > Well, I ran `configure' first, then made the above changes, and `make && > make install' ... > > ... but still ogg123 reports "No such device oss". :-(I think I fixed this by using DL_LAZY instead of RTLD_NOW. This is in libao-0.6.0-modified/src/audio_out.c. Then if the libossaudio was missing, you'd get an error like: "/usr/local/lib/ao/liboss.so: Undefined PLT symbol "_oss_ioctl" (reloc type = 7, symnum = 13)" (I hope I remembered this correctly.) Jeremy C. Reed http://www.reedmedia.net/ --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.