Skip to content

Instantly share code, notes, and snippets.

@CapsAdmin
Created April 7, 2014 11:02
Show Gist options
  • Save CapsAdmin/10018345 to your computer and use it in GitHub Desktop.
Save CapsAdmin/10018345 to your computer and use it in GitHub Desktop.
1 = al.GenSource()
cdata<const char *>: 0x04db1540 = alc.GetString(784)
[audio] opening device "PreSonus FireStudio Audio (PreSonus FireStudio Audio)" for input
cdata<struct ALCdevice_struct *>: 0x04dd3710 = alc.CaptureOpenDevice("PreSonus FireStudio Audio (PreSonus FireStudio Audio)", 44100, 4353, 4096)
nil = alc.CaptureStart(cdata<struct ALCdevice_struct *>: 0x04dd3710)
2 = al.GenBuffer()
nil = al.BufferData(2, 4353, cdata<short [4096]>: 0x0e9d59f0, 4096, 44100)
nil = al.SourceQueueBuffers(1, 1, cdata<unsigned int [1]>: 0x00e230d0)
3 = al.GenBuffer()
nil = al.BufferData(3, 4353, cdata<short [4096]>: 0x0e9d1d30, 4096, 44100)
nil = al.SourceQueueBuffers(1, 1, cdata<unsigned int [1]>: 0x00e230d0)
4 = al.GenBuffer()
nil = al.BufferData(4, 4353, cdata<short [4096]>: 0x0e9ce070, 4096, 44100)
nil = al.SourceQueueBuffers(1, 1, cdata<unsigned int [1]>: 0x00e230d0)
nil = al.SourcePlay(1)
[52 x] nil = alc.GetIntegerv(cdata<struct ALCdevice_struct *>: 0x04dd3710, 786, 1, cdata<int [1]>: 0x00e1d628)
nil = al.SourceUnqueueBuffers(1, 1, cdata<unsigned int [1]>: 0x011ecb78)
nil = alc.GetIntegerv(cdata<struct ALCdevice_struct *>: 0x04dd3710, 786, 1, cdata<int [1]>: 0x00e1d628)
nil = alc.CaptureSamples(cdata<short [?]>: 0x0e836c28, 4096)
nil = al.BufferData(2, 4353, cdata<short [?]>: 0x0e836c28, 4096, 44100)
nil = al.SourceQueueBuffers(1, 1, cdata<unsigned int [1]>: 0x00e230d0)
nil = alc.GetIntegerv(cdata<struct ALCdevice_struct *>: 0x04dd3710, 786, 1, cdata<int [1]>: 0x00e1d628)
nil = al.SourceUnqueueBuffers(1, 1, cdata<unsigned int [1]>: 0x011ecb78)
nil = alc.GetIntegerv(cdata<struct ALCdevice_struct *>: 0x04dd3710, 786, 1, cdata<int [1]>: 0x00e1d628)
nil = alc.CaptureSamples(cdata<short [?]>: 0x0e82f2a8, 4096)
nil = al.BufferData(3, 4353, cdata<short [?]>: 0x0e82f2a8, 4096, 44100)
nil = al.SourceQueueBuffers(1, 1, cdata<unsigned int [1]>: 0x00e230d0)
nil = alc.GetIntegerv(cdata<struct ALCdevice_struct *>: 0x04dd3710, 786, 1, cdata<int [1]>: 0x00e1d628)
[openal] "invalid value" in function SourceUnqueueBuffers at C:/goluwa/tests/lua/tests/audio_capture.lua:33
nil = al.SourceUnqueueBuffers(1, 1, cdata<unsigned int [1]>: 0x011ecb78)
nil = alc.GetIntegerv(cdata<struct ALCdevice_struct *>: 0x04dd3710, 786, 1, cdata<int [1]>: 0x00e1d628)
nil = alc.CaptureSamples(cdata<short [?]>: 0x0e827928, 4096)
[openal] "invalid operation" in function BufferData at C:/goluwa/tests/lua/tests/audio_capture.lua:33
nil = al.BufferData(3, 4353, cdata<short [?]>: 0x0e827928, 4096, 44100)
nil = al.SourceQueueBuffers(1, 1, cdata<unsigned int [1]>: 0x00e230d0)
nil = alc.GetIntegerv(cdata<struct ALCdevice_struct *>: 0x04dd3710, 786, 1, cdata<int [1]>: 0x00e1d628)
[openal] "invalid value" in function SourceUnqueueBuffers at C:/goluwa/tests/lua/tests/audio_capture.lua:33
nil = al.SourceUnqueueBuffers(1, 1, cdata<unsigned int [1]>: 0x011ecb78)
nil = alc.GetIntegerv(cdata<struct ALCdevice_struct *>: 0x04dd3710, 786, 1, cdata<int [1]>: 0x00e1d628)
nil = alc.CaptureSamples(cdata<short [?]>: 0x0e818508, 4096)
[openal] "invalid operation" in function BufferData at C:/goluwa/tests/lua/tests/audio_capture.lua:33
nil = al.BufferData(3, 4353, cdata<short [?]>: 0x0e818508, 4096, 44100)
nil = al.SourceQueueBuffers(1, 1, cdata<unsigned int [1]>: 0x00e230d0)
[openal] "invalid value" in function PopBuffer at C:/goluwa/.base/lua/libraries/audio.lua:437
[openal] "invalid operation" in function SetData at C:/goluwa/.base/lua/libraries/audio.lua:520
[openal] "invalid value" in function PopBuffer at C:/goluwa/.base/lua/libraries/audio.lua:437
[openal] "invalid operation" in function SetData at C:/goluwa/.base/lua/libraries/audio.lua:520
[openal] "invalid value" in function PopBuffer at C:/goluwa/.base/lua/libraries/audio.lua:437
[openal] "invalid operation" in function SetData at C:/goluwa/.base/lua/libraries/audio.lua:520
[openal] "invalid value" in function PopBuffer at C:/goluwa/.base/lua/libraries/audio.lua:437
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment