<commit_before>package alc

// #cgo darwin  LDFLAGS: -framework OpenAL
// #cgo freebsd LDFLAGS: -lopenal
//
// #ifdef __APPLE__
// #include <OpenAL/al.h>
// #include <OpenAL/alc.h>
// #else
// #include <AL/al.h>
// #include <AL/alc.h>
// #endif
//
// // free()
// #include <stdlib.h>
import "C"
import "unsafe"

// Device represents an OpenAL device.
type Device uintptr

// OpenDevice opens a device by name.
func OpenDevice(name string) Device {
	cName := C.CString(name)
	defer C.free(unsafe.Pointer(cName))
	return GoDevice(C.alcOpenDevice(cName))
}<commit_msg>Fixed conventions<commit_after>package alc

// #cgo darwin  LDFLAGS: -framework OpenAL
// #cgo freebsd LDFLAGS: -lopenal
//
// #ifdef __APPLE__
// #include <OpenAL/al.h>
// #include <OpenAL/alc.h>
// #else
// #include <AL/al.h>
// #include <AL/alc.h>
// #endif
//
// // free()
// #include <stdlib.h>
import "C"
import "unsafe"

// Device represents an OpenAL device.
type Device uintptr

// OpenDevice opens a device by name.
func OpenDevice(deviceName string) Device {
	cDeviceName := C.CString(deviceName)
	defer C.free(unsafe.Pointer(cDeviceName))
	return GoDevice(C.alcOpenDevice(cDeviceName))
}
{'fraction_non_alphanumeric': 0.16494845360824742, 'fraction_numerical': 0.0, 'mean_word_length': 3.5155038759689923, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5483502', 'n_tokens_mistral': 444, 'n_tokens_neox': 421, 'n_words': 109}